Random loss of permissions in public_html

Discussion in 'General' started by BarzonCL, Feb 5, 2014.

  1. BarzonCL

    BarzonCL New Member

    Hello Guys,

    I having some problem with permissions in public_html, lsws can't access to .htaccess on /home/xxx/public_html

    I had to ran chmod 755 on each damaged folder for view the website again.
    SSH: chmod 755 /home/*/public_html

    This is random issue, no all sites have the same problem.
    Anyone has a solution for this? This is a random issue, only happen in one server...

    Thanks
    PS: WHM/cPanel and LSWS 4.2.6
  2. mistwang

    mistwang LiteSpeed Staff

    You need to find out why and who changed the permission of those folders, not likely LSWS itself.
  3. BarzonCL

    BarzonCL New Member

    is cPanel Cron or something, but no one has the same problem?
    Is recomendable to upgrade to 4.2.7 ?
  4. NiteWave

    NiteWave Administrator

    while it'll work. not WHM/cPanel standard for public_html

    the standard is: permission 750, group is nobody
    here's one example:
    #ls -l /home/user1
    drwxr-x--- 11 user1 nobody 4096 Jul 24 2012 public_html/

    should check which script tried to change the default cPanel standard.

    it's safe to upgrade to 4.2.7
    can switch back by one-button click.

Share This Page