Having troubles setting up FTP details

Hi Guys,
I am having troubles setting up ftp details to access my site files via filezilla.

Also when i try accessing from terminal, it is saying "permission denied"
Hope someone can help with this.

5 Replies

Check that your username and password are correct when logging into the terminal. Edit: Also it could be that the user for some reason doesn’t have premission to that directory.

yes i think the latter is the reason, but how do we give them permission to that directory?

Ok I wasn’t sure if it was access denied which means wrong username/password. You change the permissions to the directory(s) and files by using the command chown to the change the owner of the directory and files.

But how do i access the directorys and files to do this change?

You have to use the sudo command in the terminal. Example sudo admin-user chown FTP-user directory name

The sudo user is the one that has root access. The ftp user is the user that you want to setup as the directory owner.

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