-
Notifications
You must be signed in to change notification settings - Fork 443
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
Add recipe for setting umask #1038
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this 😍
Only a small remark. I won't be able to merge this until end of October as I'm on vacation and the Travis build started to have some issues.
src/sphinx/recipes/umask.rst
Outdated
|
||
When using a linux package such as a RPM or Deb, the umask, associated with the user running the process, | ||
will determine what permissions files generated by the process, such as log file, will have. Usually the system default umask | ||
for daemons is fine and can be left unchanged, however sometime the need arises to oerride it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO we should add a hint that this requires the JavaAppServerPackaging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks mate 😊
|
||
When using the :ref:`java-server-plugin`, the umask, associated with the user running the process, | ||
will determine what permissions files generated by the process, such as log file, will have. Usually the system default umask | ||
for daemons is fine and can be left unchanged, however sometime the need arises to oerride it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a typo in "oerride".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! 😘
Added docs for a more general way how to set umask, not just when using System V/systemd: #1274 |
Closes #1032