Skip to main content
Post Deleted by CommunityBot
Post Locked by CommunityBot
Post Migrated Away to unix.stackexchange.com by Michael Mrozek
Post Closed as "Not suitable for this site" by Michael Mrozek
Source Link
dubis
  • 1.5k
  • 7

Is chown command is reserved to root?

I'm user1 and I created the user.file file so I'm the owner of this file. I would like to change the owner of this file with the "chown" command as example:

chown user2 test.file chown: changing ownership of 'test.file': Operation not permitted 

If I'm root login the command work perfectly. Could you explain? Thanks