Revert "No need to set permissions on file now."

In fact, we do still need to set permissions.

This reverts commit 56ce526acdcb1b5493bc11f14b751b5c3f02f686.