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
What is the significance of the 'tee' command?
What is the function of grep command in unix?
What are grep patterns?
What are awk commands?
How does shebang work?
What is a command and examples?
What is command substitution?
How many unix commands are there?
Why is grep called grep?
What command will change your prompt to myprompt?
What is grep and how do you use it?
How do I run a whois command?
What do chmod, chown, chgrp commands do?
What is the behavioural difference between cmp and diff commands?
Explain ‘system calls’ with respect to unix commands?