From owner-freebsd-questions Tue Mar 11 11:22:41 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8224A37B404 for ; Tue, 11 Mar 2003 11:22:37 -0800 (PST) Received: from mail.bg (ip220-81.mnet.bg [193.110.220.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D89A43F85 for ; Tue, 11 Mar 2003 11:22:33 -0800 (PST) (envelope-from dpenev@mail.bg) Received: from mail.bg (localhost. [127.0.0.1]) by mail.bg (8.12.7/8.12.7) with ESMTP id h2BJJJDw001152; Tue, 11 Mar 2003 21:19:19 +0200 (EET) (envelope-from dpenev@mail.bg) Received: (from dpenev@localhost) by mail.bg (8.12.7/8.12.7/Submit) id h2BJJEZc001151; Tue, 11 Mar 2003 21:19:14 +0200 (EET) Date: Tue, 11 Mar 2003 21:19:13 +0200 From: Dancho Penev To: Gabriel Ambuehl Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to enable ACL support in 5.0? Message-ID: <20030311191913.GA522@earth.dpsca.bg> Mail-Followup-To: Gabriel Ambuehl , freebsd-questions@FreeBSD.ORG References: <8381737531.20030310134823@buz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <8381737531.20030310134823@buz.ch> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 10, 2003 at 01:48:23PM +0100, Gabriel Ambuehl wrote: >Date: Mon, 10 Mar 2003 13:48:23 +0100 >From: Gabriel Ambuehl >To: questions@freebsd.org >Subject: How to enable ACL support in 5.0? > >Hello, >I might appear stupid or not having read the manual, but whatever I >try, I can't get setfacl to work (keeps failing: >setfacl: acl_get_file() failed: Operation not supported). > >I read the manual and it says I should add acls as option to fstab >which I did: >/dev/ad7s1g /home ufs rw,acls 2 2 What version is this filesystem: UFS1 or UFS2 ? UFS2 has full support for acls but with UFS1 you must enable extended attributes. If you have kernel source files I'll suggest you to read /usr/src/sys/ufs/ufs/README.acls. > > >or use tunefs to set the flag statically in the superblock but tunefs >man page knows nothing at all about ACL. =46rom tunefs man page: -a enable | disable Turn on/off the administrative ACL enable flag. > >So what do I need to do to get ACLs to work? Also, I was wondering >when to use ugidfw (more exotic stuff, I presume) and when just basic >ACLs. I think the whole ACL stuff could use some more docs, anyway. >For most users, this could be the single most visible change to the >system (SMPng etc are mostly under the hood so that's not as obvious >to most). > >I'd appreciate any comments or pointers on this issue. > >TIA & regards, >Gabriel > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message --=20 Regards, Dancho Penev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message