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
Where is command history stored in linux?
How do you run a command for a limited time?
What is the command can be run to remove all the rules in an iptable table?
Enlist some linux to file content commands?
Does linux cp command overwrite?
You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?
How do I find command history in linux?
What is whois command in linux?
What does f mean linux?
What command is used to check the number of files, disk space, and each user’s defined quota?
What is a make target?
What would be the result of issuing the command cat phonenos?
What is devops model?
How commands work in linux?
What is 9 in kill?