On Sun, Apr 13, 2003 at 10:07:58PM -0400, Brett I. Holcomb wrote:
> Are there any docs that explain what attributes are available and something
> about USING ACLs. I've checked the docs listing at the XFS site and the man
> pages for xfs, setattr, getattr, etc. There are no lists of attributes that
> I can find.
>
> As for ACLs - yes I've looked at the one doc given as a reference but it's a
> white paper comparing various filesystem acls and wasn't very good about
> telling me how to actually control or use them.
http://acl.bestbits.at has some info on acls
as for extended attributes there are defined namespaces, in each of
these namespaces you may be able to define arbitrary attributes
current namespaces are: `trusted', `system', and `user'.
`trusted' may only be altered by root
`system' has only a specific set of attributes which may be set,
currently they are posix_acl_access and posix_acl_default. these can
only be set by the owner of the file (though this may vary on
different subattrs, im not sure on that).
`user' is for users to use, you may define any arbitrary attribute you
want, eg user.foo, user.bar, the attributes you create can contain
arbitrary data (limited to 64 bytes). access to the `user' namespace is
governed by file permissions, exceptions to this are device special
files and symlinks, only root may set `user' attributes on those.
a `owner' namespace has been discussed, but as of yet not
implemeneted, this would be identical to `user' except it would only
be accessable to the owner of the file.
--
Ethan Benson
http://www.alaska.net/~erbenson/
pgpO8rEZqx82g.pgp
Description: PGP signature
|