Originally Posted by harishankar
That's still not possible except as root. chown requires root permissions except to change group.
That's corrrrect, and your first post is still wrong.
You need to be root to change ownership of files you don't own.
He owns the file (before a chown, anyway), and can't change its
ownership. The rationale (to the best of my knowledge) behind
this (the fact that one can't "disown" oneself of a file) is
stemmed from systems with multiple users and user quotas; one
could (if disowning was possible) if one was about to run out
of space just make some files in an arbitrary place in the
file-system where one happens to have write access files and
make someone else the owner (who probably will never stumble
across those, so the ownership doesn't matter too much as
long as the group permissions are still fine).