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 chmod 777 do?
What is tty name?
What is the use of mv command in linux?
Brief about finger username?
In order to display the last five commands you have entered using the fc command, you would type?
What is the command to check cpu speed in linux?
How do you run command every time a file is modified?
Why makefile is used in linux?
What is df command in linux?
How do I overclock my cpu?
How do you know which shell I am using in linux?
State and explain about features of UNIX?
How to root mirror in linux?
What is simple command?
Main configuration file and command used for NFS enabling exported directories and deamons?