Date: Wed, 25 May 2005 23:15:05 +0800 From: Clive Lin <clive@tongi.org> To: Herv? Kergourlay <herve.kergourlay@atempo.com> Cc: freebsd-fs@freebsd.org Subject: Re: setfacl -d Message-ID: <20050525151505.GA1287@tongi.org> In-Reply-To: <4291C50B.1090505@atempo.com> References: <427F491C.4090501@club-internet.fr> <427F9404.8060509@samsco.org> <42834982.40302@club-internet.fr> <42834CF9.6060301@atempo.com> <20050522092926.GA1042@tongi.org> <4291C50B.1090505@atempo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 23, 2005 at 01:56:59PM +0200, Herv? Kergourlay wrote: > Clive Lin a =E9crit : > > For freshly created directory, you have to do 'setfacl -m ...' first. > >$ mkdir aclTest > >$ setfacl -d -m u:clive:rwx aclTest > >setfacl: acl_calc_mask() failed: Invalid argument > >setfacl: failed to set ACL mask on aclTest > >$ setfacl -m u:clive:rwx aclTest > >$ getfacl aclTest | setfacl -d -b -n -M - aclTest > >$ getfacl -d aclTest|grep clive > >user:clive:rwx >=20 > it's effectively working > but it's a very complex method, how can the standard user knows that ? Perhaps it could be documented in the setfacl(1) EXAMPLES section :> --=20 Clive Tong-I Lin | http://tongi.org | PGP KeyID: A008C03E
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050525151505.GA1287>