Bug#447361: How to fix this

Mike Bird mgb-debian at yosemite.net
Sat May 17 22:16:19 UTC 2008


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 the
norm in this situation.  One only uses additional digits
for special attributes (e.g. suid) and then it is better
to use symbolic values to avoid mistakes.

--Mike Bird






More information about the pkg-gnome-maintainers mailing list