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 |
Give the command for finding the current date.
How do you change file permissions?
How to delete a directory containing files and folders?
How does the user view the contents of a text file in UNIX?
What command a user use to view a long text file one page at a time in UNIX?
what does the command 'wc' do?
How do you find files in Unix?
which command is used to change group?
What is used to type command?
Name the various commands that are used for the user information in unix.
How to display no of records in oracle using unix command?
How to display a file name which has zero bytes in size.