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

Where can I get the free download of Unix by Yeswant Kanetkar?

5 Answers  


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

4 Answers  


What is the difference between cat and more command?

0 Answers  


Give the command to display space usage on the UNIX file system.

6 Answers  


Enumerate some of the most commonly used network commands in unix?

0 Answers  


what are the different commands used to create files?

5 Answers  


How to view the hidden files in /etc directory?

10 Answers  


What Command will remove a Directory in UNIX?

8 Answers   IBM,


Who command in unix operating system?

0 Answers  


what is the command to list files in a directory in UNIX?

8 Answers  


Write a command to find all of the files which have been accessed within the last 30 days.

5 Answers   Google, IBM, Satyam,


what are the uses of filters?

3 Answers  


Categories