Bug#447361: How to fix this

2008-05-17 Thread Mike Bird
On Sat May 17 2008 13:54:20 Loïc Minier wrote: > On Sat, May 17, 2008, Mike Bird wrote: > > if ((pidfile_fd = open (LOCALSTATEDIR > > "/run/system-tools-backends.pid", O_CREAT | O_WRONLY, 0644)) != -1) > > (You probably meant 00644 above.) No. 00644 and 0644 have the same value and 0644 is t

Bug#447361: How to fix this

2008-05-17 Thread Loïc Minier
tags 447361 + pending confirmed stop Thanks, forwarded upstream and patch committed to SVN for the next upload. On Sat, May 17, 2008, Mike Bird wrote: > if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", > O_CREAT | O_WRONLY, 0644)) != -1) (You probably meant 00644 a

Bug#447361: How to fix this

2008-05-17 Thread Mike Bird
dispatcher.c does: if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", O_CREAT | O_WRONLY)) != -1) But according to "man open": mode specifies the permissions to use in case a new file is created. This argument must be supplied when O_CREAT is specified in flags; Th