Re: ACL not supported on 5.4?

2005-06-12 Thread David Magda


On Jun 11, 2005, at 19:08, Brandon Fosdick wrote:


Are handbook bugs handled through send-pr like everything else?


Yes, use the docs category.

There's also a web interface:

http://www.freebsd.org/send-pr.html

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ACL not supported on 5.4?

2005-06-11 Thread Brandon Fosdick
Björn König wrote:
 Hello Brandon,
 
 I get the same error messages if ACL are not enabled. I just want to
 make sure that you didn't overlook the part of the handbook where it
 says that you have to enable it.

It seems that's exactly what happened. Thanks for pointing it out.

 By the way, the option -k won't work on non-directories at all, see also
 the manpage of setfacl.

Ok, then the handbook needs fixing because it says The -k flag will remove all 
of the currently defined ACLs from a file or file system, which would seem to 
imply that it works on files. Naturally I would have known better if I had read 
the man page, but I didn't.

Are handbook bugs handled through send-pr like everything else?

Thanks

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


ACL not supported on 5.4?

2005-06-10 Thread Brandon Fosdick
I have a 5.4 install that I'm trying to use to experiment with ACL (and 
extended attributes). Handbook section 14.12.1 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/fs-acl.html) has a 
few sample commands that I tried running. But I get operation not supported, 
like so:

17:02 [EMAIL PROTECTED]touch test
17:03 [EMAIL PROTECTED]ll test
-rw-r--r--  1 bfoz  user  0 Jun 10 17:03 test
17:03 [EMAIL PROTECTED]getfacl test
#file:test
#owner:1001
#group:1001
user::rw-
group::r--
other::r--
17:03 [EMAIL PROTECTED]setfacl -k test
setfacl: acl_get_file() failed: Operation not supported
17:03 [EMAIL PROTECTED]setfacl -b test
setfacl: acl_get_file() failed: Operation not supported



I tried doing the above as root, but the result was the same. I'm pretty sure 
this was a fresh install of 5.4 (its been awhile since I made this box) so it 
should have UFS2 by default and the kernel does in fact have UFS_ACL compiled 
in. What else do I need to do? How do I check to see if I really do have UFS2?

Thanks
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ACL not supported on 5.4?

2005-06-10 Thread Björn König

Hello Brandon,

I get the same error messages if ACL are not enabled. I just want to 
make sure that you didn't overlook the part of the handbook where it 
says that you have to enable it.


Well, is ACL support enabled on the file system, i.e. does 'mount' show 
acls in the list of options?


  /dev/da0s1g on /home (ufs, local, soft-updates, acls)

If not then you should add 'acls' it in /etc/fstab

  /dev/da0s1g /home ufs rw,acls 2 2

or prefer

  tunefs -a enable /dev/da0s1g


By the way, the option -k won't work on non-directories at all, see also 
the manpage of setfacl.


Regards
Björn
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]