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?



Assume that a file’s permissions give you read and write access. What operations can you perform..

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

More Unix Commands Interview Questions

boot process?

2 Answers   Atos Origin, Wipro,


What will the following command do?

0 Answers  


What are awk commands?

0 Answers  


which command is used to stop a running process in unix?

8 Answers  


what is the difference between "cron" command and "at" command?

5 Answers  






Is command prompt unix?

0 Answers  


how will you convert a general file to a hidden file?

4 Answers  


How do you grep recursively?

0 Answers  


Differentiate cat command from more command.

0 Answers  


which command is used to identify the type of the file?

3 Answers  


How do I run a bash script?

0 Answers  


What is rmdir command?

0 Answers  


Categories