All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit dc8215dd authored by Kirk Webb's avatar Kirk Webb

Change the mode used to create log files to allow world read access.
We have determined that there really isn't any risk in doing so.  This will
stop rsync/loghole from complaining when transfering data from plab nodes.
It was failing to transfer some log files created as root.
parent 195b1a3e
......@@ -41,7 +41,7 @@ loginit(int slog, char *name)
if (name) {
int fd;
if ((fd = open(name, O_RDWR|O_CREAT|O_APPEND, 0640)) != -1) {
if ((fd = open(name, O_RDWR|O_CREAT|O_APPEND, 0644)) != -1) {
(void)dup2(fd, STDOUT_FILENO);
(void)dup2(fd, STDERR_FILENO);
if (fd > 2)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment