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 does pwd mean in linux?
Explain about lpr filename?
what do know about commands?
Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?
why is the tar command used?
What is bash history linux?
Explain about gzip filename?
What is the symbol of linux?
How do you ask politely?
What is mask and umask in linux?
What is mkdir p linux?
Explain the linux directory commands along with the description?
What is ps command in linux?
What does grep command do?
What is the root directory linux?