From owner-freebsd-fs@FreeBSD.ORG Wed May 25 15:22:35 2005 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 357D616A41C for ; Wed, 25 May 2005 15:22:35 +0000 (GMT) (envelope-from herve.kergourlay@atempo.com) Received: from ds9.atempo.com (ds9.atempo.com [212.157.146.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93ED143D4C for ; Wed, 25 May 2005 15:22:31 +0000 (GMT) (envelope-from herve.kergourlay@atempo.com) Received: from ds9.atempo.com (localhost.localdomain [127.0.0.1]) by localhost.atempo.com (Postfix) with ESMTP id 608412FD29; Wed, 25 May 2005 17:22:23 +0200 (CEST) Received: from atempo.com (unknown [172.16.15.140])by ds9.atempo.com (Postfix) with ESMTP id 514D32FD16; Wed, 25 May 2005 17:22:23 +0200 (CEST) Received: from [192.168.2.108] (aragorn.vannes.quadratec.fr [192.168.2.108])by atempo.com (Postfix) with ESMTP id 01B5B1E326F; Wed, 25 May 2005 17:22:22 +0200 (CEST) Message-ID: <4294982E.5000501@atempo.com> Date: Wed, 25 May 2005 17:22:22 +0200 From: =?UTF-8?B?SGVydsOpIEtlcmdvdXJsYXk=?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: fr, en MIME-Version: 1.0 To: Clive Lin 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> In-Reply-To: <20050525151505.GA1287@tongi.org> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary=------------040805010206060009020002 X-imss-version: 2.025 X-imss-result: Passed X-imss-approveListMatch: *@atempo.com X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: setfacl -d X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2005 15:22:35 -0000 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--