Revert "Fix chmod"

This reverts commit b506682cb52c9bb4fab8c9574373783fa002cd87.