Re: ACL and tunefs

2004-11-27 Thread Kees Plonsz
Adam Stroud wrote:

 All:
 
 I am trying to enable ACL support of my FreeBSD 5.3 box.  I drop into
 single user mode and run the tunefs -a enable command on my partition
 and get the following:
 
 tuenfs:  ACLs set
 tunefs:  /dev/ad0s1a:  failed to write superblock
 
 When I reboot it seems that the ACL are not set.
 
 Any ideas?
 

Check if you really use UFS2 (run dumpfs and see 1 line)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ACL and tunefs

2004-11-27 Thread Kees Plonsz
Adam Stroud wrote:

 All:
 
 I am trying to enable ACL support of my FreeBSD 5.3 box.  I drop into
 single user mode and run the tunefs -a enable command on my partition
 and get the following:
 
 tuenfs:  ACLs set
 tunefs:  /dev/ad0s1a:  failed to write superblock
 
 When I reboot it seems that the ACL are not set.
 
 Any ideas?
 

You forgot to umount your filesystem first !

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


Re: ACL and tunefs

2004-11-27 Thread Adam Stroud
Kees:
You were right, I did not umount the filesystem first, I dropped into 
single user mode and I thought that did unmount the filesystem.  When I 
booted the machine into single the tunefs command seemed to work OK.

However, I still dont get a + when I do a long listing of a file and 
the handbook says I should see one.  Does this mean that things did not 
take?

A
Kees Plonsz wrote:
Adam Stroud wrote:
 

All:
I am trying to enable ACL support of my FreeBSD 5.3 box.  I drop into
single user mode and run the tunefs -a enable command on my partition
and get the following:
tuenfs:  ACLs set
tunefs:  /dev/ad0s1a:  failed to write superblock
When I reboot it seems that the ACL are not set.
Any ideas?
   

You forgot to umount your filesystem first !
 


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


Re: ACL and tunefs

2004-11-27 Thread Kees Plonsz
Adam Stroud wrote:

 Kees:
 
 You were right, I did not umount the filesystem first, I dropped into
 single user mode and I thought that did unmount the filesystem.  When I
 booted the machine into single the tunefs command seemed to work OK.
 
 However, I still dont get a + when I do a long listing of a file and
 the handbook says I should see one.  Does this mean that things did not
 take?
 


Check if your acl-option is working with mount ( no parameters )
It should give somthing like:

/dev/ad1s1g on /mnt (ufs, local, soft-updates, acls)

Then give the setfacl command on a file:

setfacl -m u::rwx,g:mail:rw file

Now you must have a + sign with the ls -la command.

I got error messages when I disabled or enabled acl
on a not-empty filesystem and made a directory listing.


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


Re: ACL and tunefs

2004-11-27 Thread Adam Stroud
I dont think the acl got enabled, here is my output from mount:
/dev/ad0s1a on / (ufs, NFS exported, local)
Kees Plonsz wrote:
Adam Stroud wrote:
 

Kees:
You were right, I did not umount the filesystem first, I dropped into
single user mode and I thought that did unmount the filesystem.  When I
booted the machine into single the tunefs command seemed to work OK.
However, I still dont get a + when I do a long listing of a file and
the handbook says I should see one.  Does this mean that things did not
take?
   


Check if your acl-option is working with mount ( no parameters )
It should give somthing like:
/dev/ad1s1g on /mnt (ufs, local, soft-updates, acls)
Then give the setfacl command on a file:
setfacl -m u::rwx,g:mail:rw file
Now you must have a + sign with the ls -la command.
I got error messages when I disabled or enabled acl
on a not-empty filesystem and made a directory listing.

 


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


Re: ACL and tunefs

2004-11-27 Thread Adam Stroud
I did not try that.  When I booted into single user more again and tried 
the tunefs -a enable / I get a messaged saying that acl was already 
enabled.  Strange.

A
Kees Plonsz wrote:
On Saturday 27 November 2004 22:58, Adam Stroud wrote:
 

I dont think the acl got enabled, here is my output from mount:
/dev/ad0s1a on / (ufs, NFS exported, local)
   

I guess you are right, acl is not enabled.
It is a spacial case, I think,. The a-slice gets mounted
immediatly after staring up the system and you cannot
umount it. You have to access it through another freebsd
system, let say with the fixit disk. Or did you already had
a solution for that ?
 


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


Re: ACL and tunefs

2004-11-27 Thread Kees Plonsz
Adam Stroud wrote:

 I did not try that.  When I booted into single user more again and tried
 the tunefs -a enable / I get a messaged saying that acl was already
 enabled.  Strange.
 
The only hope for you is that the enable bit for acl was set, but
not yet read by the system. I think you have to reboot and then you
have a change that the acl bit is set and read.
Te best way is to have another freebsd system to set acl.
Or to choose another slice for your acl experiment.
The e-slice is easier to change, but its your choice

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


ACL and tunefs

2004-11-26 Thread Adam Stroud
All:
I am trying to enable ACL support of my FreeBSD 5.3 box.  I drop into 
single user mode and run the tunefs -a enable command on my partition 
and get the following:

tuenfs:  ACLs set
tunefs:  /dev/ad0s1a:  failed to write superblock
When I reboot it seems that the ACL are not set.
Any ideas?
A
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]