Subject: Re: file ownership
From: Arthur Corliss (arthur@corlissfamily.org)
Date: Tue Feb 18 2003 - 13:35:43 AKST
On Tue, 18 Feb 2003, Mike Barsalou wrote:
> If I own a particular file and I want to give ownership to someone
> else...can't I do that?
>
> I am trying to give a file that has mike ownership to a user called test.
> But it said that the operation isn't permitted.
>
> Some searching that I have done implies that only root can change ownership
> rights.
>
> Can anyone confirm that?
That's correct. If you were able to chown files as a user, think of the
dangers if you set up some setuid wrappers. The appropriate way of sharing
files with another user is via the group ownership & permissions. For no
security, you always have "other" permissions.
--Arthur Corliss
Bolverk's Lair -- http://arthur.corlissfamily.org/
Digital Mages -- http://www.digitalmages.com/
"Live Free or Die, the Only Way to Live" -- NH State Motto
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
This archive was generated by hypermail 2a23 : Tue Feb 18 2003 - 14:04:27 AKST