One last patch before I do a send-pr to send the patch upstream. This patch
depends on my ZFS ACL Sets patch for the -k flag. I wanted to zero-out the
ACL entries recursively for a directory, which I can do in Solaris with
"chmod -R A= /path/to/directory", but ZFS doesn't allow zero-number ACL
sets. To work around that, I'm giving owner@ full permissions (the full_set
ACL set).

I'll also include my ZFS ACL Sets patch. That has already been submitted
upstream and I'm awaiting approval.

Thanks,

Shawn

On Tue, Feb 8, 2011 at 10:58 AM, Shawn Webb <latt...@gmail.com> wrote:

> I've just finished a patch to add recursive functionality to setfacl.
> Before I officially submit it, I'd like a few suggestions on how to improve
> the patch.
>
> The part I'm worried about involves the #define directive at top. I'm not
> sure what ramifications using that define might have. I needed it for my
> remove_invalid_inherit() function to work.
>
> Thanks,
>
> Shawn
>
> attached: setfacl.patch (universal diff)
>

Attachment: setfacl_recursive.patch
Description: Binary data

Attachment: zfs_acl_set.patch
Description: Binary data

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to