The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disk Usage Incorrect

Discussion in 'General Discussion' started by gertiebeth, May 29, 2008.

  1. gertiebeth

    gertiebeth Well-Known Member

    Joined:
    Jun 4, 2003
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Minnesota, USA
    cPanel Access Level:
    Root Administrator
    Hello. I have many sites that use scripts that allow for uploads that are assigned as user "nobody". Because of this the disk space usage is not correct for these sites. I know that I can go in via SSH and chown -R username.username * to get the correct usage for the sites, but we're talking about over 1500 sites. Is there are easier way to do this?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Long-term, you may wish to enable SuPHP and SuExec so the files are created as the user rather than user nobody.
     
  3. gertiebeth

    gertiebeth Well-Known Member

    Joined:
    Jun 4, 2003
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Minnesota, USA
    cPanel Access Level:
    Root Administrator
    I will do that. Will that also correct the current usage?
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    As the scripts will be running as the user, files created by the scripts will be owned by the user - therefore resolving your particular issue where files are not counted towards the quota since they are not owned by the user.
     
Loading...

Share This Page