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
Explain about the command elm?
What is type command in linux?
What will happen when a system call is encountered in a user program?
What is the difference between cd and cd in linux?
If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?
What is du -s * | sort -k1,1rn | head command used for?
What does chmod 777 do?
What file type is a makefile?
How will you suspend a running process and put it in the background?
What does history command do in linux?
What is tty name?
What is make in linux?
What are the linux commands used in devops?
How do I do a whois search?
What is clang tidy?