On Fri, Nov 24, 2006 at 03:43:33PM +0000, Paul Martin wrote: > On Fri, Nov 24, 2006 at 01:31:39PM +0100, Marc Haber wrote: > > when a new log file is created, it is first created, and then chowned > > and chmodded to the desired values. There is a small time window where > > the file exists, but does not have the correct owner/mode. > > > > If an application decides to access the file within that time window, > > it might fail. This is a probable cause for #399930. > > Are you suggesting something like the following? > > Create as different name (eg. ".$logfile.$pid.") > Rename into place > Unlink if the rename fails
That sounds as it would do the job. I don't know enough about these issues to correctly judge though. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

