RH202 · Question #40
48: Give Full Permission to owner user and owner group member but no permission to others on /data.
Answers: We can change the permission of file/directory either character symbol method or numeric method. Permission: r-Read w-Write x-Execute Permission Category u- Owner User g- Owner Group o- Others Operators -> Add the Permissions -> Remove the Permissions -> Assigns the Perm
Question
Explanation
Answers: We can change the permission of file/directory either character symbol method or numeric method. Permission: r-Read w-Write x-Execute Permission Category u- Owner User g- Owner Group o- Others Operators -> Add the Permissions -> Remove the Permissions -> Assigns the Permissions Numeric Method: 4 ->Read 2 ->Write 1 ->Execute Total: 7, total for owner user, owner group member and for others : 777
- chmod u+rwx /data
- chmod g+rwx /data
- chmod o-rwx /data or chmod 770 /data
- Verify the /data : ls -ld /data
- You will get drwxrwx---
Topics
Community Discussion
No community discussion yet for this question.