In a company there are 3 groups i.e Finance, HR and Marketing. Each groups having 3 members. There is a file named as file1.txt. The permission set for the above file is rwx-rw----x. Now the question is only the members of Hr and Marketing group can view and edit the file. But the file is not accessible to the members of Finance Group. Can anyone tell me what would be the exact command for linux.root@localhost#<type the exact linux command>
Answer Posted / manavalan
setfacl -m g:Hr:rw ,g:Marketing:rw file1.txt
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the command to check cpu speed in linux?
How do I find the umask value in linux?
What does chmod 755 do?
How do I use nslookup in linux?
How do I know my linux shell version?
What is du command in linux?
What signal is ctrl c?
What are the mv command options?
How many types of dos commands are there?
What is the use of ls command?
What is the use of cp p command?
Write about an internal command.
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
What does execute mean in linux?
What are linux commands?