← Commit list

6a5598c2b

Denis Vlasenko
Denis Vlasenko
2007-03-27
FAILED Duration: 12s

Subject

pidfile creation mode set to 0666 (umask affects it as usual)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/pidfile.c+1 -1
@@ -16,7 +16,7 @@ int write_pidfile(const char *path)
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 */