File attribute - MdNor/rocksoft GitHub Wiki
Common cPanel problem of user unable to add/edit/upload/delete file in their hosting account is due to wrong file attribute.
List all attribute
lsattr
For example, if we get
----------I-- ./public_html
I = immutable, which means no one can change anything in this folder/file public_html folder is immutable and we can edit the attribute like so.
Change attribute
chattr -i public_html
If we test it again we should get
------------- ./public_html
The permission problem should be settled.