Permission denied
jomko opened this issue · 1 comments
jomko commented
Hello. Tried your script and get Permission denied errors:
vagrant@homestead:~/code$ sudo curl -sS https://raw.githubusercontent.com/grrnikos/pma/master/pma.sh | bash
Downloading phpMyAdmin 5.0.4 (https://files.phpmyadmin.net/phpMyAdmin/5.0.4/phpMyAdmin-5.0.4-all-languages.tar.gz)
Warning: Failed to create the file phpmyadmin.tar.gz: Permission denied
curl: (23) Failed writing body (0 != 16080)
mkdir: cannot create directory ‘phpmyadmin’: Permission denied
rm: cannot remove 'phpmyadmin.tar.gz': No such file or directory
bash: /vagrant/scripts/serve.sh: No such file or directory
Any advise?
grrnikos commented
Hey there, it seems like you don't have write permissions. Did you SSH into your Homestead box and cd
to your code directory? If yes and still not working, give write permissions to the vagrant user by running sudo chown -R $USER:$USER /path/to/code/directory/
.