Date: Fri, 19 Apr 2002 02:14:19 -0400 (EDT) From: "Ilmar S. Habibulin" <ilmar@watson.org> To: kai ouyang <oykai@msn.com> Cc: current@FreeBSD.org Subject: Re: How use UFS_ACL function? Message-ID: <20020419020817.X41830-100000@fledge.watson.org> In-Reply-To: <OE1201Y7PeGbPn6U9Be000162be@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 19 Apr 2002, kai ouyang wrote: > options UFS_EXTATTR > options UFS_EXTATTR_AUTOSTART > options UFS_ACL Now you have to create backing storage for extended attributes, ALC in your case. This can be achieved by the following commands: # cd / # mkdir .attribute .attribute/system # cd .attribute/system # extattrctl initattr -p / 388 posix1e.acl_access # extattrctl initattr -p / 388 posix1e.acl_default > For example, I has a user name Jack, who is a wheel member. > I want to deny him to access /boot/, how can I do? After reboot you will have the ability to set acls on your root filesystem. So issue the command: # setfacl -m u:Jack: /boot and check it with getfacl /boot. The output should be like: ... user:Jack:--- ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020419020817.X41830-100000>