On Tue, 26 Nov 2002, Robert Watson wrote:

> On Tue, 26 Nov 2002 [EMAIL PROTECTED] wrote:
>
> > On Tue, 26 Nov 2002, Hiten Pandya wrote:
> >
> > > On Tue, Nov 26, 2002 at 11:21:28AM -0700, [EMAIL PROTECTED] wrote the words in 
>effect of:
> > > > On Tue, 26 Nov 2002, Bruno Miguel wrote:
> > > >
> > > > > On 25 Nov 2002 at 23:34, [EMAIL PROTECTED] wrote...
> > > > >
> > > > > > How do I enable ACLs on the boot partition? tunefs -a enable /dev/ad0s1a
> > > > > > indicates it got set (in single user mode with / mounted readonly). But I
> > > > > > still can't set anything with setfacl(1). I tried booting to the fixit
> > > > > > floppy, hoping to set acls flag from there to my partition, but it doesn't
> > > > > > have tunefs. Is my only choice now to take the drive out and put it in
> > > > > > another FreeBSD machine and set it from there?
> > > > >
> > > > > If you are using UFS1, did you follow the procedures in 
>/sys/ufs/ufs/README.acls ?
> > > >
> > > > No, not using USF1. / was formatted UFS2.
> > >
> > > tunefs -a /your/filesystem
> > >
> > > I think thats the one.
> > > Cheers.
> >
> > Tried that already on / in single user mode with it mounted readonly.
> > tunefs said it changed the flag, but didn't really. I also tried adding
> > acls to fstab for /, but no effect. Were you successful in doing this
> > for / ?
>
> tunefs changes the flag for the next mount, so doesn't take immediate
> effect.  Once you've tunefs'd a read-only file system, you need to unmount
> and remount it -- for the file system root, this generally means
> rebooting.  Just to confirm: you're running with GENERIC, or with a kernel
> that includes UFS_ACL, right?  (Normally the kernel will complain if you
> try to mount a file system with ACL support when ACLs aren't enabled).

Yeay! My mistake. I had assumed simply ctrl-d'ing after doing the tunefs
-a in single user mode was all that was needed (that a remount from ro to
rw would have done it), but indeed, it did require a reboot to get it to
take. Thanks all for the help.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to