Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Dec 2005 14:08:02 +0300
From:      Igor Robul <igorr@speechpro.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Recursive ACLs commands
Message-ID:  <20051220110802.GE10718@sysadm.stc>
In-Reply-To: <43A429D1.2090309@gmail.com>
References:  <43A429D1.2090309@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 17, 2005 at 10:08:01AM -0500, bazzoola wrote:
> Greetings,
> 
> I was just wondering if I can set or lists acls recursively on specific 
> directories ?
> 
> I couldn't find the usual '-R' option for setfacl
> Is there another way to do this?

find . -type f -exec setfacl -m xxx {} \;
or 
find . -type d -exec setfacl -d -m u::,g::,o::,g:rrr:rwx {} \;

I hope you have got idea



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051220110802.GE10718>