RH202 · Question #14
There is one partition /dev/hda14 mounted on /data. The owner of /data is root user and root group. And Permission is full to owner user, read and execute to group member and no permission to others.
Answers: We know that every files/directories are owned by certain user and group. And Permissions are defines to owner user, owner group and other. -rwxr-x--- >Full permission to owner user, read and write to owner group and no permission to others. According to question: We sho
Question
Explanation
Answers: We know that every files/directories are owned by certain user and group. And Permissions are defines to owner user, owner group and other. -rwxr-x--- >Full permission to owner user, read and write to owner group and no permission to others. According to question: We should give the full permission to user user1 without changing the previous permission. ACL (Access Control List), in ext3 file system we can give permission to certain user and certain group without changing previous permission. But that partition should mount with acl option. Follow the steps
- vi /etc/fstab /dev/hda14 /data ext3 defaults,acl 0 1
- Either Reboot or use: mount -o remount /data
- setfacl -m u:user1:rwx /data
- Verify using: getfacl /data
Topics
Community Discussion
No community discussion yet for this question.