14 lines
478 B
Diff
14 lines
478 B
Diff
diff -Nur rootsh-1.5.3.orig/src/rootsh.c rootsh-1.5.3/src/rootsh.c
|
|
--- rootsh-1.5.3.orig/src/rootsh.c 2017-11-11 19:18:16.638430603 +0800
|
|
+++ rootsh-1.5.3/src/rootsh.c 2017-11-11 19:19:24.547425868 +0800
|
|
@@ -680,7 +680,7 @@
|
|
// Open the logfile
|
|
*/
|
|
if ((logFile = open(logFileName, O_RDWR|O_CREAT|O_SYNC|O_CREAT|O_APPEND|
|
|
- S_IRUSR|S_IWUSR, 0777)) == -1) {
|
|
+ S_IRUSR|S_IWUSR, 0666)) == -1) {
|
|
perror(logFileName);
|
|
return(0);
|
|
}
|
|
|