Assume that a file’s permissions give you read and write
access. What operations can you perform
on the file if it is in a directory which has “r”(read)
only process? What operations can you perform
on the file if it is in a directory which has “x”(execute)
only access?

Answer Posted / l.nakkeeran.

a) If the Directory have only read permission and the file
inside the directory contains rw permission then we cant do
nothing.We never enter in to the directory.To enter into the
directory we need execute permission for directory
first.Then only we can access the file inside the directory.

b) If the directory have the execute permission then we
enter in to the directory, but we cant view/list the files
in the directory.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sed command do in unix?

561


What does this command do,"$more readme.txt“?

689


Why is awk called awk?

577


Give the command for finding the current date.

581


Is command prompt unix?

580






What do chown command do?

536


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

589


What are the commands in UNIX to list the files in a Directory?

618


How do I clear my terminal history?

584


Is grep faster than awk?

557


What are the general commands in using unix os for a beginner?

577


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

760


Which command is used to kill the last background job?

775


Is it inbetween or in between?

580


What does grep v do?

557