fixed sh permissions