Can't Edit Website FTP?

Why can’t I edit my website via FTP. I login via SFTP and get the following error. I am using the login credentials from logging in via control panel. I can login fine, but editing or creating folders gives me the error.

When I check owner of the folders, it’s not even my user name, its a number, 1003.

Permission denied.
Error code: 3
Error message from server: Permission denied

I even tried uploading files via File manager in the control panel and it says “Unknown Error”.

Sounds like borked file permissions/ownership, login over ssh and check them.

That’s what it seems, owner and group is 1003, but I don’t understand why? It was working fine before, I was able to login and use ftp etc… even file manager. Is there a way to change it back to my CP user name?

https://linux.die.net/man/1/chown

but be carefull, chown can also destroy a lot.

chown user:user /home/user/web/domain.tld/public_html -R
chown user:www-data /home/user/web/domain.tld/public_html

Should to the job. But be aware, usualy you should know this while using hestia: Please read this, before you start!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.