Fix file permissions at installation
Merge pull request #303 from melmorabity/permissions

Fix file permissions at installation