summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2004-11-10 23:12:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:13 -0500
commitc0cad75f09ad393fc12a5e49abfac17d678c8ff2 (patch)
treeb346361b685d2f1457e2a75f4e5147f245d40598
parentd1a939e89329c08f2162092a15a8620e389d0ce1 (diff)
downloadsamba-c0cad75f09ad393fc12a5e49abfac17d678c8ff2.tar.gz
samba-c0cad75f09ad393fc12a5e49abfac17d678c8ff2.tar.bz2
samba-c0cad75f09ad393fc12a5e49abfac17d678c8ff2.zip
r3673: Do not fail on setting file attributes with acl support enabled.
Rolling back r3496 (close #2015). Guenther (This used to be commit e88ac807847bd016f9c921f01f788708b1564b5c)
-rw-r--r--source3/smbd/dosmode.c4
1 files changed, 1 insertions, 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;