--- branches/SAMBA_3_0_RELEASE/source/smbd/dosmode.c 2004/10/25 19:25:54 3220 +++ branches/SAMBA_3_0_RELEASE/source/smbd/dosmode.c 2004/11/07 20:42:45 3605 @@ -344,7 +344,9 @@ return(-1); } - get_acl_group_bits(conn, fname, &st->st_mode); + if (!get_acl_group_bits(conn, fname, &st->st_mode)) { + return(-1); + } if (S_ISDIR(st->st_mode)) dosmode |= aDIR; This change seems to break the setting of file attributes with acl support enabled. Certain files cannot be recreated/deleted or it fails to copy a fresh copied file a second time on itself. Without this patch it works good as 3.0.7. If I understand correctly every existence of ACLs (the default case) means an return(-1) in file_set_dosmode with this patch. Daniel
reverted that commit. thanks.