Revert "Fixed permissions"

This reverts commit 728120c45a04df36cc954cec133a1a367d0b1fdf.