Fix files system permission
Merge pull request #3508 from sigo/files-permissions

Fixed files permissions