set the correct file ownership and permissions:
sudo chown -Rf ec2-user /var/www/mysite/location
sudo chmod -Rf 755 /var/www/mysite/location
sudo chmod -Rf 755 /var/www/mysite/location
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
I need to switch to root user to download files from linux to windows as M getting permission denied after reaching till admin.Could you please help me with that??
Im running Ubuntu 17.04. When you make a new session select SCP protocol and click on advanced settings. Then select SCP/Shell and
Simply put, the coder cant manage to get this working so we have to do a work around then get "READ THE FAQ!" anytime anyone asks about it. You're an arsehole.
su
is explicitly made not to be automatable for security reasons. As you are trying to break the security, you have to do it the hard way. There's no magical way.
You cannot use "sudo" from terminal. You need to specify it as "shell" for the session. Please read the FAQ again.
My apologies prikryl. That worked flawlessly. Thank you.
WinSCP is a great tool b/t/w, thanks for the generous contribution.
You cannot use "sudo" from terminal. You need to specify it as "shell" for the session. Please read the FAQ again.