On Mon, Mar 17, 2008 at 07:52:13PM +0100, Jakub Narebski wrote: > Dnia poniedziałek 17. marca 2008 17:54, Frank Lichtenheld napisał: > > >At the very least you should: > [...] > > - Check if the file is owned by the uid gitweb is running under and > > not word-writable. > > UID ($>) or PID ($$) should be equal to cache owner: stat($file)->uid? I'm not sure what the PID has to do with anything here? But yeah, $> was what I meant. (Although I actually prefer to use POSIX::geteuid instead, since I can understand that faster). Gruesse, -- Frank Lichtenheld <frank@xxxxxxxxxxxxxx> www: http://www.djpig.de/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html