From owner-freebsd-current Mon Nov 25 16:57:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CC9E37B401 for ; Mon, 25 Nov 2002 16:57:48 -0800 (PST) Received: from mail.XtremeDev.com (xtremedev.com [216.241.38.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2789D43EDC for ; Mon, 25 Nov 2002 16:57:47 -0800 (PST) (envelope-from dave@XtremeDev.com) Received: from xtremedev.com (xtremedev.com [216.241.38.65]) by mail.XtremeDev.com (Postfix) with ESMTP id EA27470601 for ; Mon, 25 Nov 2002 17:57:06 -0700 (MST) Date: Mon, 25 Nov 2002 06:01:15 -0700 (MST) From: bsd@xtremedev.com X-X-Sender: dave@Amber.XtremeDev.com To: questions@freebsd.org Subject: 5.0-DP2 ACLs on UFS2 Message-ID: <20021125055024.H42486-100000@Amber.XtremeDev.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey all, I've recently installed FreeBSD 5.0-DP2 to get myself familiar with the upcoming ACLs present in -CURRENT before the release itself. I've setup a test machine with one 45gb ide drive with one slice and two partitions (/ and swap) and installed FreeBSD on it. dumpfs / shows that root is UFS2, and from reading /usr/src/sys/ufs/ufs/README.acls, I don't need to do the extattrctl initattr commands since ufs2 supports EA/ACLs natively. Additionally, I booted to single user mode and enabled ACLS on / by doing a tunefs -a enable /dev/ad0s1a. I proceeded to try getfacl and setfacl. getfacl returned the default settings (just stat() in ACL form according to Robert Watson), however, no matter what I tried all I could get with setfacl -m g:mail:rwx testfile was: setfacl: acl_get_file() failed: Operation not supported I thought perhaps the tunefs on the ro mount of / did not take. So instead I used the mount time flag in fstab: /dev/ad0s1a / ufs rw,acls 1 1 I rebooted, and tried again. Yet I still get the same error message with setfacl. At this point I'm stuck. Is it because I only have / and not / and /usr? Does UFS2 with EA/ACLs not work on boot partitions? Or did I misunderstand something when trying to setup ACLs in -CURRENT? Any advice right now would be welcomed. Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message