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 are the basic commands for user management?
What is the command to delete a file linux?
How do I check my disk space?
What are whois tools?
Find command can search for files by
What does pwd mean in linux?
What is the difference between cd and cd in linux?
What does touch do in linux?
How do I check cores in linux?
What is clang format?
How do I check command history?
What is help command in linux?
What command can you use to make a tape archive file of a /home directory and send it to the /dev/tape device?
What is ls command and what it does?
What does wc command do in unix?