Revert "BZ 1065438: apply umask in setPermission"

This reverts commit 961c13d402c4812fd6cbfd51f81ae60284eff482.