Initial flush file is not created with mode 660
Opened this issue · 2 comments
bigon commented
Hi,
On my machine, on initial installation, the flush file is created with mode 640, which is not intended I think. This is because the open(2) function applies the umask of the process.
Shouldn't the umask be temporary modified before calling the open(2) function (if the wanted resulting mode is really 660)?
corecode commented
Is this a problem?
bigon commented
In the past I already run "/usr/sbin/dma -q1" by hand as a regular user to speed up the processing of the spool files. I tried that now and I get a permission error in the log file.
Also, the "permissions" target of the make file sets the permission to 0660, so there is a little disparity here