QuestionQ20

Security and File Permissions

What occurs to a file located outside the home directory when its owner's account is deleted?

Choose two
  • A During a file system check, the file is moved to /lost +found.
  • B The file is removed from the file system.
  • C The UID of the former owner is shown when listing the file's details.
  • D The user root is set as the new owner of the file.
  • E Ownership and permissions of the file remain unchanged.
Explanation

Deleting an account does not automatically remove files outside its home directory or change their inode ownership and permission metadata. The file retains its numeric UID; because that UID no longer maps to an account name, a file listing shows the former owner's UID numerically.

Community Discussion

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