restored chmod