Author Topic: File System Lock not working  (Read 1639 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
File System Lock not working
« 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

« Last Edit: March 06, 2021, 04:20:04 PM by Painkiller88 »

Offline
*
Re: File System Lock not working
« Reply #1 on: March 09, 2021, 10:14:16 AM »
No one else recorgnized this?

Offline
*****
Re: File System Lock not working
« Reply #2 on: March 10, 2021, 07:48:39 AM »
You can use bash commands:
The command below will lock required folder:
Code: [Select]
chattr -R +i /path/to/the/folderThe command below will unlock required folder:
Code: [Select]
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

Offline
*
Re: File System Lock not working
« Reply #3 on: March 10, 2021, 04:46:18 PM »
ok thanks for the reply.

 :)

Offline
*****
Re: File System Lock not working
« Reply #4 on: March 14, 2021, 05:26:15 PM »
welcome :)
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