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 / hems

let's say HR,MR,FIN are groups,
then,
#chown -R HR:MR file1.txt
#chmod -R 660 file.txt

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between locating and locate command?

979


How do you sort cpu in top command?

1063


What is difference between sh and bash?

983


What could be the problem when a command that was issued gave a different result from the last time it was used?

1215


What file type is a makefile?

942


What does f mean linux?

951


What is ls command and what it does?

984


Which command is used to check the number of files and disk space used and the each user’s defined quota?

1038


What is bash history linux?

999


How do I find old commands in linux?

1061


When and how linux developed?

1072


Who command in linux?

1006


How do I clear my run history?

1066


Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?

1080


What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc..?

1146