[KLUG Members] setting user id

Adam Williams members@kalamazoolinux.org
Tue, 14 Oct 2003 13:30:08 -0400 (EDT)


>How can I change the user id of a file (ownership) from the command line?
>Assume RH 7.3, some static file, and already logged in as root.
>I guessed and tried
>setuid username filename

chown {username} {filename}
- or -
chwon {username}.{groupname} {filename}

>But it replied setuid: command not found

Your thinking of "chmod u+s"; different thing.