sbt/sbt-native-packager — pull request #178 by muuki88 (2014-03-02 18:55:28+00:00)
Title: Implementing permissions as described in #174

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.