Fixes directory permissions for server user to write logs and data