QuestionQ40

VerifiedSecurity

Running chmod 640 filea.txt as a regular user does not change filea.txt’s permissions. What could be a reason that chmod cannot alter the permissions?

Choose two
Explanation

A non-privileged user cannot change the mode of a file owned by someone else. Symbolic-link permissions are not changed by chmod on Linux; their displayed mode is a fixed value, while access checks apply to the link’s target.

Community Discussion

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