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.