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

How do you create a file in linux?

1123


What does grep grep do?

972


How do I change directories in linux command line?

1011


What does && mean in bash?

1157


Which command reduces the size of a file?

1252


How do you insert comments in the command line prompt?

1230


What are the ms dos commands?

1123


What is $@ in makefile?

1036


What is a make target?

1005


What is the use of mv command in linux?

1090


How do I use nslookup in linux?

1102


How do I run a command in linux?

1140


How do I overclock my cpu?

1009


What is the difference between diff and cmp command in unix?

1161


How do I check command history?

1117