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

Implementing permissions as described in #174 #178

Merged
merged 3 commits into from
Mar 3, 2014

Conversation

muuki88
Copy link
Contributor

@muuki88 muuki88 commented Mar 2, 2014

The permissions table in #174 looks like this

Folder User Permissions Purpose
/usr/share/package-name root 755 / (655) static, non-changeable files
/etc/default/package-name.conf root 644 default config file
/etc/package-name root 644 config folder -> link to /usr/share/package-name/conf
/var/run/package-name daemonUser 664 if the application generates a pid on its own
/var/log/package-name daemonUser 664 log folder -> symlinked from /usr/share/package-name/log

Note

Play will have a problem with this if the pid.file configuration isn't set as it will try to create it inside the app_folder. I think this is a configuration issue which needs documentation.

@jsuereth
Copy link
Member

jsuereth commented Mar 3, 2014

Cool. Looks good to me.

jsuereth added a commit that referenced this pull request Mar 3, 2014
Implementing permissions as described in #174
@jsuereth jsuereth merged commit 41f5273 into master Mar 3, 2014
@jsuereth jsuereth deleted the wip/linux-server-permissions branch March 3, 2014 13:50
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

Successfully merging this pull request may close these issues.

2 participants