Implementing permissions as described in #174
Fixing tests
Finally fixing build
Merge pull request #178 from sbt/wip/linux-server-permissions

Implementing permissions as described in #174