Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial flush file is not created with mode 660 #36

Open
bigon opened this issue Jan 3, 2016 · 2 comments
Open

Initial flush file is not created with mode 660 #36

bigon opened this issue Jan 3, 2016 · 2 comments

Comments

@bigon
Copy link

bigon commented Jan 3, 2016

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
Copy link
Owner

corecode commented Jan 3, 2016

Is this a problem?

@bigon
Copy link
Author

bigon commented Jan 3, 2016

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 bigon closed this as completed Jan 3, 2016
@bigon bigon reopened this Jan 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants