Undo automatic permissions setting (does not work in all environments)