QuestionQ30

Security and File Permissions

The owner of the file doku.odt needs to be changed. The new owner is named tux. Which command makes this change?

  • A chmod u=tux doku.odt
  • B newuser doku.odt tux
  • C chown tux doku.odt
  • D transfer tux: doku.odt
  • E passwd doku.odt:tux
Explanation

The chown command changes a file’s ownership. Supplying tux as the owner and doku.odt as the target assigns ownership of that file to user tux.

Community Discussion

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