Re: [PATCH v18 00/22] Richacls (Core and Ext4)

From: Andreas Gruenbacher
Date: Sun Mar 13 2016 - 19:02:32 EST


On Sat, Mar 12, 2016 at 12:02 AM, Jeremy Allison <jra@xxxxxxxxx> wrote:
> On Fri, Mar 11, 2016 at 02:05:16PM -0600, Steve French wrote:
>> Sounds like I need to quickly rework the SMB3 ACL helper functions
>> for cifs.ko
>>
>> Also do you know where is the current version of the corresponding
>> vfs_richacl for
>> Samba which works with the current RichACL format?
>
> I have a patch for a new vfs_richacl somewhere. I remember
> sending it to Andreas for testing...

Ah, the patch was for testing, not resting ... how could I get that mixed up.

I've applied your patch to the latest master branch, made it compile
again, and fixed a few obvious problems. The results I get with
smbcacls look reasonable now.

The code is here:
https://github.com/andreas-gruenbacher/samba richacl

I've used the following smb.conf:
[richacl]
comment = Richacl directory
path = /mnt/ext4
vfs objects = richacl
writeable = yes
browseable = yes

Is there a particular reason why you didn't make vfs_richacl a
dynamically loadable module?

Thanks,
Andreas