Fixes permissions
Merge pull request #1 from mauricesvay/master

Permissions are not set properly