[Samba] still ACL bug in 3.0.14a

Stewart, Eric eric at lib.usf.edu
Sun Apr 17 13:50:14 GMT 2005


 	This patch appears to have done the trick for me.
	Thanks Jeremy - personally I think you've gone above and beyond
(it's still the weekend!)
	I guess we'll see this in 3.0.15? ;)

> -----Original Message-----
> From: Jeremy Allison [mailto:jra at samba.org] 
> Sent: Sunday, April 17, 2005 3:54 AM
> To: Stewart, Eric
> Cc: samba at lists.samba.org
> Subject: Re: [Samba] still ACL bug in 3.0.14a
> 
> On Sat, Apr 16, 2005 at 11:42:33PM -0400, Stewart, Eric wrote:
> > 	If someone has this working on Red Hat Enterprise Linux 3, I'd
> > like a few pointers.
> > 	I've changed "defaults" in /etc/fstab for the affected partition
> > to "defaults,acl,user_xattr" and rebooted the box.  I've 
> gone so far as
> > to make sure all processes were killed, remove the samba 
> sbin, bin, lib,
> > and include directories, checked to make sure ACL support is being
> > compiled in (ldd even shows libacl.so.1 linked).  I've even gotten
> > desperate and and added "delete readonly = yes" and even 
> "nt acl support
> > = no" (in all sorts of combinations) to the junk share in the config
> > below, and yet I still get access denied when attempting to delete a
> > file.  ls -laF shows:
> > 
> > : ls -laF /usr/local/samba/junk
> > total 5608
> > drwxrwxr-x    2 bb       mysql        4096 Apr 16 00:44 ./
> > drwxr-xr-x   11 root     root         4096 Apr 16 23:20 ../
> > -rwxrw-r--    1 LIB+eric mysql       46080 Mar 31  2000
> > annualreport99.doc*
> > -rwxrw-r--    1 LIB+eric mysql     5668947 Mar 25 09:11
> > HPLJ4250-070323-ILLiad.pdf*
> > 
> > 	With the "force group =" set, anyone who qualifies as a valid
> > user should be able to delete the file.  But I can't.
> 
> Ok, I think I see the bug you're encountering.... I don't 
> think force group
> was considered in the posix_acl code - that changes current_user.gid
> without changing it in the group array in current_user.
> 
> Can you try this patch please ?
> 
> Jeremy.
> 


More information about the samba mailing list