I want to copy a site from manage wordpress to this domain.
I am not able to clone site from there when I am trying to do it its showing me error Could not upload conn.php: Could not create the directory / sftp: "Permission denied" (SSH_FX_PERMISSION_DENIED)
please help me to solve this issue.

1 Reply

That error means that your user doesn't have the necessary permissions to perform the operation. I recommend logging in over SSH or LISH and investigating your permissions a bit further.

First, run the command ls -lha one level above the desired upload directory. This will show you the permissions and ownership of that directory. For example, here's the output for the "html" directory within /var/www:

drwxrwxr-x  2 root admin 4.0K Mar 11 11:41 html

Then, using this information you'll want to adjust the permissions and ownership to allow your user to upload files in the directory. If you aren't familiar with managing user permissions, I recommend checking out our Linux Users and Groups guide - specifically the sections on chmod and changing file ownership.


Please enter an answer

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] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct