nerdexam
Red_Hat

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

Requirements Engineering in the Project Lifecycle

Question

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. Now you should give the full permission to user user1 without changing pervious permission.

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

  1. vi /etc/fstab /dev/hda14 /data ext3 defaults,acl 0 1
  2. Either Reboot or use: mount -o remount /data
  3. setfacl -m u:user1:rwx /data
  4. Verify using: getfacl /data

Topics

#ACL permissions#file ownership#access control#Linux security

Community Discussion

No community discussion yet for this question.

Full RH202 Practice