Can't edit, delete folders and files inside public html

Hello,

I’ve been trying to deploy django app inside hestiacp, I created a folder inside public html and now I can’t add, edit, delete any files inside public html, any ideas why?

Check the permissions with sftp / ssh

This is the current permission of the public_html

image

Then no wonder why filemanger can’t delete it . It should be user:user

1 Like

Thanks, I figured out it’s permissions issue.

Don’t change the permissions, change the file ownership to million:million

cd /home/million/web/yourdomain.com/public_html/
chown -R million:million *

And set file permissions to 644 or even better 640
And dit permissions to 755 or even better 750

1 Like

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