Non-UNIX permission models (resent)

Simo Sorce idra at samba.org
Fri Sep 30 12:48:16 GMT 2005


On Fri, 2005-09-30 at 14:27 +0200, yves.lejeune at kodak.com wrote:
> > 
> > I've thought about what we would need to change in the kernel in order 
> to 
> > allow non-UNIX permission models on some filesystems/mounts, and I've 
> > discussed this with SUSE folks at the SUSE Labs conference in Prague 
> > yesterday. Surprisingly, nobody seemed to be strongly opposed to what I 
> > presented, rather the opposite. Samba is the most prominent potential 
> user of 
> > non-UNIX permission models on Linux as far as I can see, so I would like 
> to 
> > discuss the topic with you.
> 
> Hello Andreas,
> 
> I am wondering if you would be interested too in modifying the VFS layer
> to provide non-case-sensitive operations - at least a "casestat" 
> operation.
> This can greatly enhance the performance of Samba when large directories
> are present. I have myself added such a "casestat" operation in my Samba 
> VFS module.
> The difficult point then is to take it into account in the Samba code,
> e.g. I was able to update filename.c, but I gave up for 
> call_trans2findfirst().

if case issues are taken into account into your vfs module than you
should just be able to set case insensitive = true and you should be
done.

Simo.

-- 
Simo Sorce    -  idra at samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it



More information about the samba-technical mailing list