Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2014 09:12:54 +0700
From:      Daniel <info@collisiondetection.biz>
To:        Kozlov Sergey <kozlov.sergey.404@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Removing ACLs From SAMBA share
Message-ID:  <53FE9026.4000208@collisiondetection.biz>
In-Reply-To: <53FE3CFD.6040804@gmail.com>
References:  <53FDA787.9030505@collisiondetection.biz> <53FE3CFD.6040804@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, I will try it out on a Virtual Machine first.



On 08/28/2014 03:18 AM, Kozlov Sergey wrote:
> 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"
> _______________________________________________
> 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?53FE9026.4000208>