CentOS 6.9
I would like help regarding to the issue of my server, since Jan, my hosting provider isnt capable to id my issue.
I have a webtool to create invoices, but suddenly it was not capable to use commands, mkdir(), file_put_contents and similar, the folder permissions are 0755 and file permissions are 0644 (which I suppose are the correct ones), few days ago I tried to modify permission via terminal (I have a VPS so I can't use remote desktop, just via PuttY) I used:
Code: Select all
sudo chown -R root:_user home/path/to/folder
sudo chmod -R 755 home/path/to/folder
So I tried using:
Code: Select all
sudo chown -R root:root home/path/to/folder
sudo chmod -R 755 home/path/to/folder
Is there any way I can default value permissions of my server and/or a way to work normally with my server. please.