PrepAway - Latest Free Exam Questions & Answers

Which of the following statements are true about file permissions?

Which of the following statements are true about file permissions?
Each correct answer represents a complete solution. Choose three.

PrepAway - Latest Free Exam Questions & Answers

A.
The execute permission means that the file can be run if it is a program or script.

B.
The write permission means that the file can be edited and saved.

C.
The read permission means that only the file name can be read not the contents of the file.

D.
The read permission means that the contents of the file can be seen with a command such as
cat or less.

Explanation:

The read permission allows a user to read a file. The content of a file can be seen by cat or less
commands. When the read permission is set for a directory, it allows a user to read the names of
files in the directory (but not to find out any other information about them including file type,
ownership, size, etc.).
The write permission means that a user is permitted to write in a file. So, if a file has the write
permission it can be edited and saved.
The execute permission grants a user the ability to execute a file. This permission must be set for
executable binaries.
Answer option C is incorrect. If a file has the read permission, its contents can also be read not
only the file name.


Leave a Reply