question about setting ACL
/dev/sda8 is permanently mounted on /a.
As apply ACL for user sam on /a. # setfacl -m u:sam:rwx /a setfacl: /a: Operation not supported. Here is the steps I followed.. 1 useradd sam 2 passwd sam 3 mkdir /a Code:
# fdisk /dev/sda Code:
# mount Code:
# vi /etc/fstab Code:
# ls -ld Code:
# setfacl -m u:sam:rwx /a |
acl has to be enabled on the mount
Code:
mount -o remount,acl /a |
if i try to change the permissions of /a
they wont change # chmod o=rwx /a # ls -ld drwxr-x--- 15 root root 4096 Jun 21 23:34 . |
ACL Additions
In order to add acl level permissions to a file system, you need to add it to your /etc/fstab file. Select the file system using your favorite editor and then add ",acl" to the listing.
For example: /dev/sda8 /a ext3 defaults,acl 1 2 Then bounce the system and you should be good to go. Bouncing of the system might be optional depending on the type of linux you are running, you might be able to get by with the remount command either ran as root or using sudo level permissions. |
All times are GMT -5. The time now is 11:03 PM. |