Date: Wed, 25 May 2005 17:22:22 +0200 From: =?UTF-8?B?SGVydsOpIEtlcmdvdXJsYXk=?= <herve.kergourlay@atempo.com> To: Clive Lin <clive@tongi.org> Cc: freebsd-fs@freebsd.org Subject: Re: setfacl -d Message-ID: <4294982E.5000501@atempo.com> In-Reply-To: <20050525151505.GA1287@tongi.org> 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> <20050525151505.GA1287@tongi.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040805010206060009020002 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Clive Lin a écrit : >On Mon, May 23, 2005 at 01:56:59PM +0200, Herv? Kergourlay wrote: > > >>Clive Lin a 嶰rit : >> >> >>> 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 >>> >>> >>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 :> > > > the best will be to have the -d option full usable bye hervé --------------040805010206060009020002--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4294982E.5000501>