should get_nt_acl_no_snum really avoid VFS modules?

Jeremy Allison jra at
Sat May 19 18:10:26 GMT 2007

On Sat, May 19, 2007 at 09:28:45AM -0700, James Peach wrote:
> But if there is a non-Posix ACL, then whoever calls this probably has  
> a reasonable expectation that the ACL actually does something.

But this is getting a file on our local filesystem, for which
I think we can assume it's a POSIX ACL.

> I think that this should either explicitly look only at the mode bits  
> or go through the SMB_VFS_GET_NT_ACL path. Do yo have a preference?

I'm not sure this is needed.

> Not yet, though I guess it's possible that one day someone will call  
> that code :) I was looking into ACL support and this looked weird.

Yeah, but some of the code that does stuff directly on local
filesystems is weird (look at the printer driver stuff).


More information about the samba-technical mailing list