chmod for wrapper