svn commit: samba r3673 - branches/SAMBA_3_0/source/smbd trunk/source/smbd

gd at samba.org gd at samba.org
Wed Nov 10 23:12:02 GMT 2004


Author: gd
Date: 2004-11-10 23:12:02 +0000 (Wed, 10 Nov 2004)
New Revision: 3673

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3673

Log:
Do not fail on setting file attributes with acl support enabled.
Rolling back r3496 (close #2015).

Guenther

Modified:
   branches/SAMBA_3_0/source/smbd/dosmode.c
   trunk/source/smbd/dosmode.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/dosmode.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/dosmode.c	2004-11-10 23:03:32 UTC (rev 3672)
+++ branches/SAMBA_3_0/source/smbd/dosmode.c	2004-11-10 23:12:02 UTC (rev 3673)
@@ -344,9 +344,7 @@
 			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;

Modified: trunk/source/smbd/dosmode.c
===================================================================
--- trunk/source/smbd/dosmode.c	2004-11-10 23:03:32 UTC (rev 3672)
+++ trunk/source/smbd/dosmode.c	2004-11-10 23:12:02 UTC (rev 3673)
@@ -344,9 +344,7 @@
 			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;



More information about the samba-cvs mailing list