nerdexam
ExamsXK0-004Questions#246
CompTIA

XK0-004 · Question #246

XK0-004 Question #246: Real Exam Question with Answer & Explanation

The correct answer is C: The file config.txt has the immutable attribute set.. For starts, root is allowed to remove a file even if the writable bits are not set. Also, a common error message due a permission issues is "permission denied". This "Operation not permitted" is totally linked to the inmutable bit set.

Question

Given the output below: [root@appserver ~]# rm config.txt rm: remove regular file 'config.txt'? yes rm: cannot remove 'config.txt': Operation not permitted Which of the following might be the cause?

Options

  • AThe file config.txt does not have the user write bit set.
  • BThe file config.txt does not exist.
  • CThe file config.txt has the immutable attribute set.
  • DThe file config.txt has an ACL that does not permit deletion by others.

Explanation

For starts, root is allowed to remove a file even if the writable bits are not set. Also, a common error message due a permission issues is "permission denied". This "Operation not permitted" is totally linked to the inmutable bit set.

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice
Given the output below: root@appserver ~ rm config.txt rm: remove... | XK0-004 Q#246 Answer | NerdExam