[ale] Allow non-root user to chown file to other user?

Derek Carter goozbach at neverblock.com
Thu Nov 15 10:38:49 EST 2007


Jeff Lightner wrote:
> 
> 
> That ? s the basic question.  If a non-root user owns a file and wants 
> to give ownership to another user it says ? operation not permitted ? .
> 
> Please do NOT tell me to use Ubuntu or some other distro .
> 
> I ? m asking how to do it on the distros I?m currently using.   (Also my 
> Googling seems to suggest this may not be restricted to 
> Fedora/RedHat/CentOS anyway.)
> 
> Please DO tell me if it is not possible if you have a technical 
> explanation as to why (that is please don ? t just say ? Redhat doesn ? 
> t allow it ? ).

What are you trying to accomplish? Does it need to be owned by another 
"user"? or just automatically accessible by them?

Depending on why you need the other user to own the file there are other 
ways to make it easily accessible.

Have you looked into setGID on a shared directory using user private 
group scheme?

ACL's *MAY* be another choice.

--
Derek aka goozbach



More information about the Ale mailing list