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>

Answers were Sorted based on User's Feedback



In a company there are 3 groups i.e Finance, HR and Marketing. Each groups having 3 members. There i..

Answer / manavalan

setfacl -m g:Hr:rw ,g:Marketing:rw file1.txt

Is This Answer Correct ?    3 Yes 0 No

In a company there are 3 groups i.e Finance, HR and Marketing. Each groups having 3 members. There i..

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

In a company there are 3 groups i.e Finance, HR and Marketing. Each groups having 3 members. There i..

Answer / saty

is your question about accessing file1.txt for finance group:

if yes:linux.root@localhost#chmod 0777 file1.txt

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Linux Commands Interview Questions

What is whois command in linux?

0 Answers  


The head command writes the how many lines of a file to screen?

0 Answers  


you wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What options hould you use in this command line to be successful.

0 Answers  


How will retrieves incoming mails from different web sites

2 Answers   HCL, HP,


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

6 Answers   IBM, IMB,


how do you port scaning with netcat command?

1 Answers   Qseap Technologies, Wipro,


How to give acl permission in numerical mode on linux?

0 Answers  


some one is asking my machine is slow what is your steps?

5 Answers   Oracle, Talent,


What does the command env do?

0 Answers  


How do you grep?

0 Answers  


Which command will show you free/used memory?

0 Answers  


what is Bourne shell.

1 Answers   Google, HCL, Infosys,


Categories