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

Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

884


What is command substitution?

734


What is the use of find command in unix?

662


How do you grep a case insensitive?

621


Are you in or at the office?

708






What does grep v grep do?

637


What is the function of grep command in unix?

688


What is command statement?

656


Which command is used to copy files?

660


What do know about tee command and its usage?

703


Explain command to view process running?

699


Is ‘du’ a command? If so, what is its use?

717


What is .sh file?

729


What is ctrl d?

685


Who command in unix?

681