Bird
0
0

Which user can run the chown command to change ownership of a file?

easy📝 Conceptual Q2 of 15
Linux CLI - File Permissions and Ownership
Which user can run the chown command to change ownership of a file?
AOnly the root user or users with sudo privileges
BAny user can change ownership of any file
COnly the file owner can change ownership
DOnly users in the same group as the file
Step-by-Step Solution
Solution:
  1. Step 1: Identify who can change file ownership

    Changing ownership is a privileged operation, usually restricted to root or sudo users.
  2. Step 2: Understand user permissions

    Normal users cannot change ownership to prevent security risks.
  3. Final Answer:

    Only the root user or users with sudo privileges -> Option A
  4. Quick Check:

    Ownership change requires root/sudo = A [OK]
Quick Trick: Only root/sudo can change ownership [OK]
Common Mistakes:
  • Assuming file owner can change ownership
  • Thinking group members can change ownership
  • Believing any user can run chown

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes