PROPOSAL: extend UNIX_INFO2 to mark existence of ACLs

Jeremy Allison jra at samba.org
Tue Jan 22 21:17:18 GMT 2008


On Tue, Jan 22, 2008 at 01:05:56PM -0800, 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 ....

We can extend this and grab a bit I think. To determine if it's
valid we'd add a minor rev. to the version number I think.

Jeremy.


More information about the samba-technical mailing list