From owner-freebsd-questions@FreeBSD.ORG Mon May 30 13:49:57 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 646D716A41C for ; Mon, 30 May 2005 13:49:57 +0000 (GMT) (envelope-from rebehn@ant.uni-bremen.de) Received: from antsrv1.ant.uni-bremen.de (antsrv2.ant.uni-bremen.de [134.102.176.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C02643D1F for ; Mon, 30 May 2005 13:49:54 +0000 (GMT) (envelope-from rebehn@ant.uni-bremen.de) Received: from bremerhaven.ant.uni-bremen.de ([134.102.176.10]) by antsrv2.ant.uni-bremen.de with esmtp (Exim 4.42) id 1DckeB-0004wz-EY for freebsd-questions@freebsd.org; Mon, 30 May 2005 15:49:40 +0200 Message-ID: <429B1A14.2000304@ant.uni-bremen.de> Date: Mon, 30 May 2005 15:50:12 +0200 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "antsrv2.ant.uni-bremen.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or block similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi list, I have no luck trying to enable ACLs on my UFS2 filesystem: ################################################# [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- Subject: Cannot enable ACLs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 13:49:57 -0000 Hi list, I have no luck trying to enable ACLs on my UFS2 filesystem: ################################################# root@antsrv1 [~] # mount -u -o ro /export/linux/root root@antsrv1 [~] # mount|grep linux/root /dev/da0s1a on /export/linux/root (ufs, NFS exported, local, read-only, soft-updates) root@antsrv1 [~] # tunefs -a enable /export/linux/root tunefs: ACLs set root@antsrv1 [~] # tunefs -p /export/linux/root tunefs: ACLs: (-a) enabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) root@antsrv1 [~] # mount -u -o rw /export/linux/root root@antsrv1 [~] # mount|grep linux/root /dev/da0s1a on /export/linux/root (ufs, NFS exported, local, soft-updates) root@antsrv1 [~] # tunefs -p /export/linux/root tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) root@antsrv1 [~] # mount|grep linux/root /dev/da0s1a on /export/linux/root (ufs, NFS exported, local, soft-updates) root@antsrv1 [~] # ################################################################## As you can see, if i mount the fs r/o, i can enable ACLs, but as soon as i remount r/w again, ACLs are disabled again. According to the handbook, this should work. What am i missing? root@antsrv1 [~] # uname -a FreeBSD antsrv1.ant.uni-bremen.de 5.3-RELEASE-p15 FreeBSD 5.3-RELEASE-p15 #13: Fri May 13 09:35:22 CEST 2005 root@antsrv1.ant.uni-bremen.de:/usr/obj/usr/src/sys/ANTSRV1 i386 Regards, Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax : -3341