Coda File System

Re: Coda and RPM/tar/lchown()

From: Patrick Walsh <pwalsh_at_esoft.com>
Date: Thu, 28 Apr 2005 10:05:39 -0600
On Thu, 2005-04-28 at 17:44 +0200, Ivan Popov wrote:
> The danger is that this innocent hack in a way enforces client
> host administration (right choice of the uid for _this_ client)
> and has some other non-evident consequences.

	OK, point taken.

>  - the running process's uid
>  - the Posix superuser uid (0 aka root)
>  - the usual "nobody" uid (may vary on different systems, but still has
>    a common semantics)

	Here's a thought: could the kernel return ownership information
differently to different users?  Probably.  Could it then tell the
current user that they own all the files?  So if you go to machine A
where your username is patrickw and uid is 833 and you clog into coda
and ls -l you will see that you own everything.  Then if you go to
machine B where your name is pwalsh and uid is 4001, after you clog into
coda then you will see that pwalsh owns everything.  Another user on the
same machine will see different ownership.  The only question then is
what the anonymous user sees, which could default to root/0 or also to
their uid.

	Assuming it's possible, does that fit in with the global scenario?  

-- 
Patrick Walsh
eSoft Incorporated
303.444.1600 x3350
http://www.esoft.com/

Received on 2005-04-28 12:06:55