non-root chowning?

Paul Howarth paul at city-fan.org
Wed Jun 15 13:18:38 UTC 2005


Andy Pieters wrote:
> Hi all
> 
> I have been trying to find out how to chown files while not using a root 
> account.
> 
> I want to change ownership of a file from user a to user b.
> I tried adding user a to user b's group, and user b to user a's group.
> 
> Any idea on how to solve this?

You'll probably have to use sudo.

Changing ownership of files when non-root is known as a "file giveaway" 
and most modern Unix-like OSes don't allow it for security reasons. I 
don't *think* there's anything you can do in Linux to allow this.

Paul.




More information about the fedora-list mailing list