Unset exec permission where unneeded #677