Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

permissions issues with public_html (not apache, using litespeed)

Discussion in 'EasyApache' started by geoffg, Jan 19, 2011.

  1. geoffg

    geoffg Registered

    Joined:
    Mar 29, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    I have a customer who's public_html keeps losing its permissions.

    The directory goes to:

    d--------- 6 user nobody 4096 Jan 15 21:41 public_html/

    I then try:

    #chmod 755 public_html/
    chmod: changing permissions of `public_html/': Operation not permitted

    Fiddle about for a bit.. do this:
    # chattr -i public_html
    then:
    # chmod 755 public_html/

    # ls -al
    [...]
    drwxr-xr-x 6 user nobody 4096 Jan 15 21:41 public_html/

    The www symbolic link still works.

    This has happened 2 days in a row, and seems to occur when the site is a little busier than normal.

    I am using litespeed not Apache, otherwise there is nothing else going on. It is a wordpress site. Nothing abnormal in the logs that I can see.


    Anyone got any suggestions?
     
  2. geoffg

    geoffg Registered

    Joined:
    Mar 29, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    BUMP

    This has now happened multiple more times... any suggestions? My customer is getting upset
     
  3. atheros

    atheros Member

    Joined:
    Nov 18, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    51
    hmm,,,

    maybe you can try to update (/scripts/upcp or /scripts/upcp --force) ..
     
  4. geoffg

    geoffg Registered

    Joined:
    Mar 29, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    It did an update a couple of times but I will run it manually - the customer is running a wordpress site in it, that is quite busy.. and it seems to occur when there is high usage on their site. There are quite a few other WP sites on the server, so unless its specifically something related to one of their plugins... but then, why on earth world a WP plugin remove the permissions from the public_html folder? seems a bit weird..
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice