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
How do you ask politely?
What does mkdir do in linux?
You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?
What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?
How do I move to root in linux?
What is command grouping?
What is the command to see on which port which service is running?
What are the 7 types of sentences?
what is the roles and responsibilities in linux system admin having 2yrs exp..?
Write a command that will display all .txt files, including its individual permission.
What is build process?
What is mkdir?
What file type is a makefile?
What is FC command?
What are system commands?