r3673: Do not fail on setting file attributes with acl support enabled.
authorGünther Deschner <gd@samba.org>
Wed, 10 Nov 2004 23:12:02 +0000 (23:12 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:13 +0000 (10:53 -0500)
Rolling back r3496 (close #2015).

Guenther
(This used to be commit e88ac807847bd016f9c921f01f788708b1564b5c)

source3/smbd/dosmode.c

index 3a3a6e6fdb052fd94e993f80275cc3e43cc1a24e..7199b3ebbf3e6d69daa8d7fd81d461631502def8 100644 (file)
@@ -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;