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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Find command can search for files by

550


How do make computer faster?

542


Explain any one service which are working on udp only?

527


Is llvm a compiler?

549


How do I start ms dos?

534






How do you run command every time a file is modified?

540


You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?

532


Which command is used to see the online manual?

611


You read an article that lists the following command: dd if=/dev/fdo bs=512 of=/new what does this accomplish?

567


Enlist some linux to file content commands?

571


How can you copy lines into the buffer in command mode?

561


What would be the result of the command paste -s dog cat?

537


Explain difference between swap partition and swap file?

499


What is mkdir m in linux?

544


What is command to check ports running/used over local machine

650