This question already has an answer here:
- Why can't a normal user `chown` a file? 3 answers
I am on slackware64 v14.0 and I have file that belongs to me:
-rwxrwxr-x+ 1 nass shares 137934 Mar 7 00:06 myfile.csv*
I am a member of the "shares" group.
The folder that contains
myfile looks like this
drwxrwsr-x+ 12 nass shares 4096 Mar 12 04:54 winmx/
I now want to give ownership of this file to another user of this pc. The other user is also a member of the shares group. However,
chown otheruser myfile.csv
does not do the trick. I get a
chown: changing ownership of 'myfile.csv': Operation not permitted
I had recently asked a similar question about
gid, but this is not the same problem.
How can I solve this ?