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

What command would users use to see what file one page at a time in UNIX?

7 Answers   IBM,


What is rmdir command?

0 Answers  


How to identify whether a file is normal file or directory?

3 Answers  


What does sed command do in unix?

0 Answers  


in UNIX,How to copy file into directory?

5 Answers  






Who command in unix operating system?

0 Answers  


What command will change your prompt to myprompt?

0 Answers  


How to setup Disk space as well as memory in solaris10?

4 Answers  


If we want to see first 35 lines of a file which command we have to use?

8 Answers  


How do you stop a running process?

7 Answers  


what do you understand by 'unix is a portable os'?

3 Answers   Infosys,


What happens when we execute a unix command?

0 Answers  


Categories