Re: require_files undesirable behavior

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Piete Brooks
Cc: Jay Denebeim, exim-users
Asunto: Re: require_files undesirable behavior
On Fri, 16 May 1997, Piete Brooks wrote:

> > If you've got root at the time, why can't you just change your euid to the
> > person who owns the directory?
>
> I assume that's what ph10 meant -- but what if you can't find the owner of the
> directory ? Do you walk back until you can read the dir, seteuid to the owner
> of that dir, and try again, etc .... :-((


Quite. And I presume that even becoming the owner of the directory may
not help you if there is a block further up the path.

What I meant was to run the stat() as root.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714