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 |
Explain the read, write, and execute permissions on a UNIX directory.
How do I use grep to search for a file?
How do I search for a file in unix command?
What are the commands in UNIX to list the files in a Directory?
What command will bring user back to their home directory in UNIX?
1-how will you display a file whose name is starting with '- '? 2-how will you add a patten at end of every line in vi editor?
How to find and replace the below command?
distinguish between physical addresses and logical address?
23 Answers College School Exams Tests, CTS, Infosys, SAX, TATA, TCS,
In Unix file permissions what does the second field denotes?
in UNIX,what is the command to remove directory with files?
distinguish between user mode and kernel mode?
How do I search a whole word in vim?