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"chown command as examplefollows:
$ chown user2 test.file chown: changing ownership of 'test.file': Operation not permitted If I'm logged in as root login the command work perfectly. Could you explainWhy can't I change the ownership when logged in as the file owner? Thanks