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 / 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 |
What is a bash command?
What is grep r?
what does a process mean?
What is the command to view process running?
Why is it called grep?
Write a command that will display files in the current directory, in a colored, long format.
In UNIX, what is the command to edit contents of the file?
What does this command do? Cat food 1 > kitty
What is {} in find command?
How does one process we can start an executable file? How to get the PID process, which we started?
What is the different between UNIX command and UNIX shell script?
What is the search command in unix?