Permissions 致命:无法更改回'/根';:拒绝许可

Permissions 致命:无法更改回'/根';:拒绝许可,permissions,marytts,Permissions,Marytts,我正试图在ubuntu 16.4上安装MaryTTS。 但是当我到达终点时 sudo -u mary git clone https://github.com/marytts/marytts.git /local/mary/marytts 致命:无法更改回“/root”:权限被拒绝 链接教程和当运行命令时,您可能在homedir~(/root)中,所以在sudo命令之前切换到例如/tmp,它具有更多的打开权限 cd/tmp sudo-u玛丽git克隆https://github.com/mar

我正试图在ubuntu 16.4上安装MaryTTS。 但是当我到达终点时

sudo -u mary git clone https://github.com/marytts/marytts.git /local/mary/marytts
致命:无法更改回“/root”:权限被拒绝


链接教程和

当运行命令时,您可能在homedir~(/root)中,所以在sudo命令之前切换到例如/tmp,它具有更多的打开权限

cd/tmp
sudo-u玛丽git克隆https://github.com/marytts/marytts.git /本地/玛丽/马里茨

我有一点进步,但仍然有一个错误$cd/tmp$sudo-u mary git clone/local/mary/marytts$cd/local/mary/marytts$sudo-u mary git fetch-tags$sudo-u mary git checkout v5.2$sudo apt get安装-y openjdk-7-jdk maven$sudo-u mary mvn包构建失败[错误]您指定的目标需要执行一个项目,但此目录(/)中没有POM。请验证您从正确的目录调用了Maven。->[帮助1][错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。