revert permissions change