Novell Certified Linux Professional (CLP) — Question 5
You have set the following permissions on a test directory rwxrwxrwx.
Which statement about files in the test directory is correct?
Answer options
- A. A file created in that directory has the same owning group as the owning group of the test directory.
- B. Only root or the owner of the file can delete files in the test directory.
- C. A file created in that directory has the same owner as the owner of the test directory.
- D. Only root can delete files in the test directory.
Correct answer: C
Explanation
The correct answer is C because files created in a directory with rwxrwxrwx permissions inherit the owner from the directory unless otherwise specified. Option A is incorrect as it addresses the owning group rather than the owner, while options B and D incorrectly suggest restrictions on deletion that do not apply to this permission setting.