Permissions problems with WWW folder through SFTP
If you are having trouble uploading files to your web server with SFTP - it may be a permissions problem.
You need to assign write+read+execute permissions for your user for the www directory.
Here is a fix for the problem:
Navigate (on your server) to the var directory.
Whilst in this directory. enter then following command.
sudo chown -R user:user ./www
Replacing <i>user</i> with the username you want to assign to.
then;
sudo chmod -R 0755 ./www
this line assigns the <i>write+read+execute permissions</i> for the www folder for the user you entered.
All done !
Written by David O'Dea
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Permissions
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#