Removing ACLs From SAMBA share
Kozlov Sergey
kozlov.sergey.404 at gmail.com
Wed Aug 27 20:18:12 UTC 2014
Hi,
I think something like
find -print0 /mnt/raid_zfs/samba | xargs -0 setfacl -b
would do the trick.
But please, don't just copy-paste the command - man everything first.
Best Regards,
Kozlov Sergey.
On 27.08.2014 12:40, Daniel wrote:
> Hi,
>
>
> I am trying to remove ACLs across a samba share - /mnt/raid_zfs/samba#
>
> I would like to stop using these ACLs and return to standard UNIX
> permissions.
>
> An example of our current ACLs:
>
> #getfacl Finan\ Admin\ HR/
> # file: Finan Admin HR/
> # owner: eliane
> # group: ManageAssist
> owner@:rwxpDdaARWcCos:fd----:allow
> group@:rwxpDdaARWcCos:fd----:allow
> everyone@:r-x-D-a-R-c---:fd----:allow
>
>
> I've managed to remove them on a per folder basis using setfacl -b
> NAME (remove acls) However for many folders and files this isn’t
> practical.
> How can I stop using ACLs and return to normal UNIX permissions ?
>
>
> Thanks for the help,
>
> Dan
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list