svn commit: trunk/busybox/libbb
vda at busybox.net
vda at busybox.net
Tue Mar 27 22:05:35 UTC 2007
Author: vda
Date: 2007-03-27 15:05:34 -0700 (Tue, 27 Mar 2007)
New Revision: 18256
Log:
pidfile creation mode set to 0666 (umask affects it as usual)
Modified:
trunk/busybox/libbb/pidfile.c
Changeset:
Modified: trunk/busybox/libbb/pidfile.c
===================================================================
--- trunk/busybox/libbb/pidfile.c 2007-03-27 22:02:06 UTC (rev 18255)
+++ trunk/busybox/libbb/pidfile.c 2007-03-27 22:05:34 UTC (rev 18256)
@@ -16,7 +16,7 @@
char buf[sizeof(int)*3 + 2];
/* we will overwrite stale pidfile */
- pid_fd = open(path, O_WRONLY|O_CREAT|O_TRUNC);
+ pid_fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, 0666);
if (pid_fd < 0)
return 0;
/* few bytes larger, but doesn't use stdio */
More information about the busybox-cvs
mailing list