From owner-freebsd-current Tue Dec 3 0:40: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 47DC437B401 for ; Tue, 3 Dec 2002 00:40:48 -0800 (PST) Received: from hotmail.com (f31.pav0.hotmail.com [64.4.32.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E59743E9C for ; Tue, 3 Dec 2002 00:40:44 -0800 (PST) (envelope-from oykai@msn.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 3 Dec 2002 00:40:39 -0800 Received: from 210.74.136.33 by pv0fd.pav0.hotmail.msn.com with HTTP; Tue, 03 Dec 2002 08:40:38 GMT X-Originating-IP: [210.74.136.33] From: "kai ouyang" To: Current@FreeBSD.org Subject: Another ACL problem in DP2 Date: Tue, 03 Dec 2002 16:40:38 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 03 Dec 2002 08:40:39.0026 (UTC) FILETIME=[A8199520:01C29AA7] 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 Hi, everybody, I have some problem when I using 'ACL'. My operations as follow: my kernel config file include: options UFS_ACL options UFS_EXTATTR options UFS_EXTATTR_AUTOSTART I want to do the "ACL" in the "/usr" filesystem. #mkdir -p /usr/.attribute/system #cd /usr/.attribute/system #extattrctl initattr -p /usr/ 388 posix1e.acl_access #extattrctl initattr -p /usr/ 388 posix1e.acl_default Then, I reboot my box. I want to restrict 'Jack' not to access '/usr/games'. So: #cd /usr #setfacl -m u:Jack: games But the system print: setfacl: acl_get_file() failed: Operation not supported Why? Later, I use getfacl to check, the info as follow: #getfacl games #file:games #owner:0 #group:0 user::rwx group::r-x other::r-x When I use the 'ACL' on DP1's root filesystem, it works nice. Now I am using DP2. Thank you! Best Regards Ouyang Kai _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message