Cannot change ownership of 'public_html'
Hello,
In order to fix a 500 error on my website, I tried to change the owner of all folders and files in public_html.
I followed what the user asend said here : and so I did this command :
After doing this, I had to do the following command :
But I had the following error :
I do not understand because the previous chown command worked. And now I have a 403 error instead of a 500 error.. Can someone help me please? I'm french, sorry for my mistakes.
chown -R my_user:my_user public_htmlAfter doing this, I had to do the following command :
chown my_user:nobody public_htmlBut I had the following error :
chown: changing ownership of 'public_html': Operation not permittedI do not understand because the previous chown command worked. And now I have a 403 error instead of a 500 error.. Can someone help me please? I'm french, sorry for my mistakes.
Please sign in to leave a comment.
Comments
0 comments