Re: require_files undesirable behavior

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Piete Brooks
CC: Jay Denebeim, exim-users
Subject: 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