SFTP remote open permission denied

I'm running Apache on Ubuntu. I have chmod'ed my public_html directory to 775. I'm using the standard terminal sftp client (whatever one is pre-installed on macs). When I try to 'put' a file from my local computer up to my Linode server I get a message saying remote open: Permission denied

2 Replies

May be the user in question doesn't have write permission to public_html directory.

you could try this:

make sure your user is a member of the www-data group:

sudo usermod -a -G www-data $USER

then give group permissions:

sudo chmod -R 775 /var/www

Check this out -> https://www.linode.com/community/questions/11090/want-to-add-a-user-to-upload-files-using-filezilla-on-debian-server

Regards

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct