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 file type is a makefile?

998


what do know about commands?

1189


What is ps command in linux?

1083


What are the commands in linux?

1078


What are the mv command options?

941


How do I change shell in linux?

1113


How do you create a file in linux?

1116


Explain trap command of linux?

1099


Why do we use cmake?

1014


You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?

1121


What is git command?

1031


How compile c++ program in cmd?

1138


Which command is used to compare the files?

1050


How to know linux os is 32 bit or 64 bit?

1057


What does history command do in linux?

1291