If you can’t edit a certain file and give you an error message, you will need to change the owner for that file or folder.
How?

use WinSCP to login as a root then go to that file/folder and right click on it and choose Custom Commands -> Enter
Type:
chown -hR owner:owner example
where:
owner: type your owner name here.
example: is the file/folder you want to change its owner.

Pin It on Pinterest

Share This