Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: nauman on April 10, 2019, 04:47:24 PM

Title: File System Lock
Post by: nauman on April 10, 2019, 04:47:24 PM
Hello,

Me and my clients are facing this problem that the File System Lock link or UNLOCKED link sometime works and sometime does not respond at all. In case someone has locked the files he is unable to unlock. It happened to me several times too. Kindly help me out that what can i do in such situation.

I have also changed browsers, rebooted server but no affect.

Thanks,
Title: Re: File System Lock
Post by: studio4host on April 10, 2019, 09:15:47 PM
this depends on your disk speed and if you have many files then you would need to wait for sometime for the task to comlete
Title: Re: File System Lock
Post by: nauman on April 11, 2019, 05:42:39 AM
Thanks a lot for you reply,
I ll inform you after checking.
Title: Re: File System Lock
Post by: nauman on April 11, 2019, 01:09:27 PM
Unfortunately waiting for 10 minutes after clicking "File System Lock" does not work.
My Server has 16GB RAM and XEON Dual Processors. The Account on which I want to enable File System Lock has just the wordpress installation. Is there any other way where i can access this option or any page link.


Thanks.
Title: Re: File System Lock
Post by: Igor S. on April 11, 2019, 06:09:28 PM
Hi, try the command below for the locking.
Code: [Select]
chattr -R +i /home/USER/public_html where USER is the user which must be locked.
Title: Re: File System Lock
Post by: nauman on April 12, 2019, 06:44:33 AM
Thank you very much :-)
Title: Re: File System Lock
Post by: Igor S. on April 12, 2019, 10:47:08 AM
Thank you very much :-)

You are welcome.
Title: Re: File System Lock
Post by: pixelpadre on May 05, 2019, 01:15:31 AM
Is file lock only an option for users other than root?
Title: Re: File System Lock
Post by: Igor S. on May 08, 2019, 10:41:58 AM
Hi, just for users. I do not think it should be for the root.
If somebody has the root permissions nothing helps.

Is file lock only an option for users other than root?
Title: Re: File System Lock
Post by: pixelpadre on May 11, 2019, 12:48:03 AM
ok.
Title: Re: File System Lock
Post by: Nazgile on June 07, 2020, 10:18:54 PM
i see, if i have my "domains" in the root folder inside the webspace ex: /home/"user"/here instead /home/"user"/public_html/

the filelock didnt work... i can upload any files in this folder, public_html is correct locked.

pls add this functionality to user panel :)
Title: Re: File System Lock
Post by: Nazgile on June 07, 2020, 10:20:21 PM
i have sorted them like that:

dir: /home/user/

domain1.tld
sub1.domain1.tld
sub2.domain1.tld
domain2.tld
sub1.domain2.tld

and the primary domain under public_html

Title: Re: File System Lock
Post by: Alnork on June 26, 2020, 07:33:08 AM
Hi,

Thanks for letting us know. I'ill send the report to the Development Team to review and adjust the functionality if necessary
Title: Re: File System Lock
Post by: ghoste on May 14, 2021, 10:53:04 AM
Fix option File Lock option (File System Lock) does not change the status - if it was active, when I log in to the user and I want to deactivate it, it deactivates but the status remains as if it was activated and this is confusing. In CWP7: 0.9.8.1062 you mentioned improvements to the User Panel - but it doesn't work properly
Title: Re: File System Lock
Post by: SloMail on May 15, 2021, 11:13:29 AM
I can confirm, i have same issue!
Title: Re: File System Lock
Post by: Alnork on May 16, 2021, 11:19:30 PM
Hi

I can confirm, i have same issue!

It has been fixed and will be released in the next version. Thanks for the report  ;)