From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 02:14:36 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A91AECC for ; Thu, 28 Aug 2014 02:14:36 +0000 (UTC) Received: from p3plsmtpa11-08.prod.phx3.secureserver.net (p3plsmtpa11-08.prod.phx3.secureserver.net [68.178.252.109]) by mx1.freebsd.org (Postfix) with ESMTP id 49B25384A for ; Thu, 28 Aug 2014 02:14:35 +0000 (UTC) Received: from [192.168.100.209] ([103.240.242.175]) by p3plsmtpa11-08.prod.phx3.secureserver.net with id k2Cv1o00C3nmMgv012Cxl8; Wed, 27 Aug 2014 19:12:58 -0700 Message-ID: <53FE9026.4000208@collisiondetection.biz> Date: Thu, 28 Aug 2014 09:12:54 +0700 From: Daniel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Kozlov Sergey , freebsd-questions@freebsd.org Subject: Re: Removing ACLs From SAMBA share References: <53FDA787.9030505@collisiondetection.biz> <53FE3CFD.6040804@gmail.com> In-Reply-To: <53FE3CFD.6040804@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2014 02:14:36 -0000 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"