Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: Painkiller88 on March 06, 2021, 04:16:36 PM
-
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
-
No one else recorgnized this?
-
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.
-
ok thanks for the reply.
:)
-
welcome :)