PROPOSAL: extend UNIX_INFO2 to mark existence of ACLs

simo idra at
Tue Jan 22 21:25:50 GMT 2008

On Tue, 2008-01-22 at 15:23 -0600, Steve French wrote:
> James Peach wrote:
> > Hi all,
> >
> > Unix SMB client could often avoid a few round-trips to the server if  
> > they could tell whether a file had an ACL at the point where they  
> > query its metadata (presumably using the UNIX_INFO2 info level).
> >
> > Since the permissions field is 64bits, how about stealing the high 
> > bit  of this field to indicate whether the file might have an ACL?
> >
> > We'd probably need a mechanism for clients to figure out whether the  
> > bit was meaningful or not ....
> >
> >
> Do you mean POSIX ACL or NT ACL? 
> For the case of an NT ACL, how would you distinguish between the case in 
> which the file has an emulated ACL and a "real" ACL?  If you query the 
> NT ACL eg. with smbcacls, Samba will report one, even on files which do 
> not have an ACL.

given this is a "unix" extension I guess it is a Posix or NFSv4 ACL.

I am not sure it make sense to signal we have an emulated NT ACL, what
would we use it for ?


Simo Sorce
Samba Team GPL Compliance Officer <simo at>
Senior Software Engineer at Red Hat Inc. <ssorce at>

More information about the samba-technical mailing list