Date: Wed, 27 Aug 2014 23:18:05 +0300 From: Kozlov Sergey <kozlov.sergey.404@gmail.com> To: Daniel <info@collisiondetection.biz>, freebsd-questions@freebsd.org Subject: Re: Removing ACLs From SAMBA share Message-ID: <53FE3CFD.6040804@gmail.com> In-Reply-To: <53FDA787.9030505@collisiondetection.biz> References: <53FDA787.9030505@collisiondetection.biz>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53FE3CFD.6040804>