Fix permissions and paths for Linux install scripts