Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain about the command elm?

1078


What is type command in linux?

1129


What will happen when a system call is encountered in a user program?

2097


What is the difference between cd and cd in linux?

1035


If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?

1062


What is du -s * | sort -k1,1rn | head command used for?

959


What does chmod 777 do?

1141


What file type is a makefile?

997


How will you suspend a running process and put it in the background?

1630


What does history command do in linux?

1291


What is tty name?

997


What is make in linux?

1058


What are the linux commands used in devops?

1112


How do I do a whois search?

995


What is clang tidy?

1054