File System Lock not working

Started by Painkiller88, March 06, 2021, 04:16:36 PM

Previous topic - Next topic

Painkiller88

Hi,

I recorgnized that the File System Lock is only working on the public_html folder of the main accounts domain.

If a User has more domains they are still unlocked.

eg:

Main Domain main.com -> there is the public_html folder, and it gets locked

All other domains which are in a seperate folder for each domain, they doesn't get locked.

So the File System Lock is not working properly in my opinion because only 1 Domain of many gets locked


Painkiller88


Igor S.

You can use bash commands:
The command below will lock required folder:
chattr -R +i /path/to/the/folder
The command below will unlock required folder:
chattr -R -i /path/to/the/folder

Unfortunately, user's home folders have some directories which must not be locked and this one the feature locking the public_html only.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

Painkiller88


Igor S.




You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services