[Samba] Permission / file_set_dosmode problem in 3.0.8

Beschorner Daniel Daniel.Beschorner at facton.com
Wed Nov 10 10:55:46 GMT 2004


--- 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 it.

Daniel


More information about the samba mailing list