Skip to contentSkip to conversation

remount with open files

DISCUSSION Andreas Moroder 3 participants 3 messages Jul 18, 2006

lore
Share & tools
lore
#0 lore raw

Hello,

we have a SLES8 system with kernel 2.4.19-64GB-SMP and would like to add ACLs to the files system. As far as I can see the ACL options are compoled into the kernel. Is it possible to add the acl option to the /etc/fstab entry and then remount the filesystem with -o remount even with open files ?

When the remount is done do I have to starta another program or so or is this all I have to do ?

Thanks
Andreas

#1 lore raw

hello,

Quoted 10 lines · Andreas Moroder

Hello,

we have a SLES8 system with kernel 2.4.19-64GB-SMP and would like to add ACLs to the files system. As far as I can see the ACL options are compoled into the kernel. Is it possible to add the acl option to the /etc/fstab entry and then remount the filesystem with -o remount even with open files ?

When the remount is done do I have to starta another program or so or is this all I have to do ?

I tried it with suse 10.1 / Linux-2.6.16.13 and it works fine.

a reiserfs volume was mounted under /mnt/testfs, then I did

mount -o remount,acl /mnt/testfs

and setfacl started to work.
I even tried it with fs with one open file. it worked.

Signature · 1 line
Alex.
#2 lore raw
In reply to Andreas Moroder

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 10 lines · Andreas Moroder

Hello,

we have a SLES8 system with kernel 2.4.19-64GB-SMP and would like to add ACLs to the files system. As far as I can see the ACL options are compoled into the kernel. Is it possible to add the acl option to the /etc/fstab entry and then remount the filesystem with -o remount even with open files ?

When the remount is done do I have to starta another program or so or is this all I have to do ?

Yes, ACLs are safe to enable and disable on-the-fly with -oremount,{,no}acl.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEvRelLPWxlyuTD7IRApAwAJ4+RNlJmHj5P0X21iZDc3HnGRGVmgCfee9s 4EM3hm3HrblEkqMXw8xBAPc=
=2Kbs
-----END PGP SIGNATURE-----