Revert "[ticket/265] Use 644 permissions for files"

This reverts commit d6395878bc821a219e3dfd254c4a258050cba884.