acl bug

Ken Cross kcross at nssolutions.com
Mon Apr 7 15:28:27 GMT 2003


POSIX 1003.1e requires the 3 basic ACL entries: ACL_USER_OBJ,
ACL_GROUP_OBJ, and ACL_OTHER.  They correspond to the mode bits, so
they're implicit anyhow.

Ken
________________________________

Ken Cross

Network Storage Solutions
Phone 865.675.4070 ext 31
kcross at nssolutions.com 

> -----Original Message-----
> From: 
> samba-technical-bounces+kcross=nssolutions.com at lists.samba.org
>  
> [mailto:samba-technical-bounces+kcross=nssolutions.com at lists.s
> amba.org] On Behalf Of Ronan Waide
> Sent: Monday, April 07, 2003 11:23 AM
> To: Samba Technical List
> Subject: acl bug
> 
> 
> not sure if this is a bug or behaving as expected. Samba HEAD, ext3fs
> + ACL patches. Create a file from windows, and it gets the following
> ACLs:
> 
> # file: New Text Document.txt
> # owner: admin
> # group: Domain Users
> user::rwx
> group::r--
> other::r--
> 
> from windows, remove the Domain Users and Everyone ACLs:
> 
> # file: New Text Document.txt
> # owner: calyx_admin
> # group: Domain Users
> user::rwx
> group::r--
> other::r--
> 
> from windows, add an arbitrary user:
> 
> # file: New Text Document.txt
> # owner: admin
> # group: Domain Users
> user::rwx
> user:waider:rwx
> group::r--
> mask::rwx
> other::r--
> 
> delete the arbitrary user ACLs again:
> 
> # file: New Text Document.txt
> # owner: admin
> # group: Domain Users
> user::rwx
> group::r--
> other::r--
> 
> set Everyone to No Access:
> # file: New Text Document.txt
> # owner: admin
> # group: Domain Users
> user::rwx
> group::r--
> other::r--
> 
> So basically it appears that I can't remove the "unix" ACLs, 
> i.e. access granted by chmod; other attribute frobbing 
> appears to be fine.
> 
> Cheers,
> Waider.
> -- 
> waider at waider.ie / Yes, it /is/ very personal of me.
> 
> I'd fix it for you, but I don't want to break into your site.
> 



More information about the samba-technical mailing list