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 |
How to remove a crontab file?
What is the command to find maximum memory taking process on the server?
distinguish between paging and swapping?
Describe the usage and functionality of the command rm –r * in unix?
What UNIX command will control the default file permissions when files are created?
Can you enlist some commonly used network commands?
How to get the last ten lines of a file using awk utility?
What do chmod, chown, chgrp commands do?
What command would users use to see what file one page at a time in UNIX?
Does cp command overwrite files?
How do I run a bash script?
How can you create a symbolic link to a file or directory?