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


Please Help Members By Posting Answers For Below Questions

What make install does?

503


How lilo is useful in linux?

565


How do I run whois command?

499


How many commands are there in linux?

554


What is clang space engineers?

542






What Command used to lock user password?

584


What is env command in linux?

507


What are linux commands?

537


What daemon is used for scheduling of the commands?

515


Which command is used to uncompress gzip files?

583


Can I delete .bash history?

507


What is bash linux?

512


What is unix finger command?

506


Where is command history stored in linux?

529


How to give acl permission in numerical mode on linux?

540