Remote Server SFTP - Permission denied upon "Choose Remote Path"
I am trying to set up a new project. My server is Ubuntu 16.04 and I am using ServerPilot.
I can connect just fine with SFTP but if I try to browse the directories or move on to the "Choose Remote Path" section I get Permission denied.
If I just make the top level the Project Root, I get Permission Denied when it starts trying to download the files.
I have tried:
sudo chown -R serverpilot:serverpilot /srv/users/serverpilot/apps
sudo chown -R serverpilot:serverpilot /srv/users/serverpilot/apps/(my-app-name)
sudo chown -R serverpilot:serverpilot /srv/users/serverpilot/apps/(my-app-name)/public
Nothing changed.

Please help :(
Please sign in to leave a comment.
Hi there,
Start with collecting Deployment subsystem logs -- it should then give you details on what's happening and you may spot the issue
https://intellij-support.jetbrains.com/hc/en-us/articles/207241115-How-to-Collecting-PhpStorm-WebStorm-debug-Logs
I don't know how to reply to the person above but I have looked over the log and it says nothing to my simple mind. The only thing I deduce is what I already knew - Permission denied. Here is a copy that occurred while trying to upload a file, same error:
Please check the permissions on the robots.txt file (not just owners, but the permissions).