From c0cad75f09ad393fc12a5e49abfac17d678c8ff2 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 10 Nov 2004 23:12:02 +0000 Subject: r3673: Do not fail on setting file attributes with acl support enabled. Rolling back r3496 (close #2015). Guenther (This used to be commit e88ac807847bd016f9c921f01f788708b1564b5c) --- source3/smbd/dosmode.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index 3a3a6e6fdb..7199b3ebbf 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -344,9 +344,7 @@ int file_set_dosmode(connection_struct *conn, const char *fname, uint32 dosmode, return(-1); } - if (!get_acl_group_bits(conn, fname, &st->st_mode)) { - return(-1); - } + get_acl_group_bits(conn, fname, &st->st_mode); if (S_ISDIR(st->st_mode)) dosmode |= aDIR; -- cgit