Non-UNIX permission models (resent)
Jeremy Allison
jra at samba.org
Fri Sep 30 16:01:21 GMT 2005
On Fri, Sep 30, 2005 at 02:27:07PM +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().
You don't need that - all the code to do this is already in Samba
code code. If you have a VFS module that exports a case insensitive
view of a file system then you simply set :
case sensitive = yes
in the [share] section exporting your VFS module and you're done.
Jeremy.
More information about the samba-technical
mailing list