dma icon indicating copy to clipboard operation
dma copied to clipboard

Initial flush file is not created with mode 660

Open bigon opened this issue 9 years ago • 2 comments

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)?

bigon avatar Jan 03 '16 21:01 bigon

Is this a problem?

corecode avatar Jan 03 '16 23:01 corecode

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

bigon avatar Jan 03 '16 23:01 bigon