Reputation: 134
I'm trying to install MaryTTS on ubuntu 16.4. but when I hit the line
sudo -u mary git clone https://github.com/marytts/marytts.git /local/mary/marytts
fatal: Could not change back to '/root': Permission denied
link tutorial, and link
Upvotes: 5
Views: 3777
Reputation: 7467
When running command you are probably in homedir ~ (/root) so before sudo command switch to e.g. /tmp which has more open permissions
cd /tmp
sudo -u mary git clone https://github.com/marytts/marytts.git /local/mary/marytts
Upvotes: 3