Revert "Open permissions"

This reverts commit 94e91f4fa2cb671b673b08129a080502e0469afb.