-
Notifications
You must be signed in to change notification settings - Fork 446
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
Provide means to set umask of user? #1032
Comments
Take a look at the Maybe we need to make this more visible. |
I'm wanting to set the default permissions of files created by my process rather than files installed by the package (for example, log files) - for this I need to set the user's umask I believe |
Aaaaah. 😃 Thanks for clarifying 😊 That sounds reasonable. What would an ideal API for that look like? |
I guess a daemonUserMask property as part of the Java server application archetype? |
With type |
Ok digging into this a bit more, it seems atleast on our systems (CentOS with System V) the most "correct" place to stick the umask is in |
That sounds even better! 😎 |
* Add recipe for setting umask Closes #1032 * Add explicit reference to Java Server archetype
Added docs for a more general way how to set umask, not just when using System V/systemd: #1274 |
It would be great if there was some means of setting the umask of a user created by an RPM build via native-packager. Obviously this can be done with some other provisioning tool but this strikes me as a relatively common requirement that might be worth incorporating directly in native-packager?
The text was updated successfully, but these errors were encountered: