Change the cmd permission paths.