QuestionQ23

VerifiedSystem Management

A systems administrator needs to stop the existing contents of a file from being overwritten while still permitting new data to be added to the end of the file. Which command should the administrator use?

Explanation

The +a attribute set by chattr makes a file append-only: existing data cannot be changed or overwritten, but new data may be written at the end of the file.

Community Discussion

No comments yet. Be the first to start the discussion!