Fix permission denied error in ubuntu installation