I am currently using Capistrano to deploy a Rails application on Ubuntu 16.04. I have the configuration to use the root user
master but am getting the following error when running the deployment check.
01 mkdir -p /var/www/pdtracker/shared /var/www/pdtracker/releases 01 mkdir: cannot create directory ‘/var/www/pdtracker’ 01 : Permission denied 01 mkdir: cannot create directory ‘/var/www/pdtracker’: Permission denied
Not sure if I need to post more information as this is my first Ubuntu question. Should I change folder permissions perhaps? Any suggestions?
This is the command I am running that produces the error:
sudo cap production deploy:check