Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jun 2003
    Location
    Minnesota, USA
    Posts
    95

    Default Disk Usage Incorrect

    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?
    Gertie

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Long-term, you may wish to enable SuPHP and SuExec so the files are created as the user rather than user nobody.

  3. #3
    Member
    Join Date
    Jun 2003
    Location
    Minnesota, USA
    Posts
    95

    Default

    Quote Originally Posted by cPanelDavidG View Post
    Long-term, you may wish to enable SuPHP and SuExec so the files are created as the user rather than user nobody.
    I will do that. Will that also correct the current usage?
    Gertie

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by gertiebeth View Post
    I will do that. Will that also correct the current usage?
    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.

Similar Threads & Tags
Similar threads

  1. Incorrect Disk Usage on /var
    By wipl in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 06-02-2010, 12:24 PM
  2. Work-around for incorrect disk usage report
    By verdon in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-10-2007, 09:13 AM
  3. Incorrect Disk Usage Warning email
    By newbies in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 09-13-2004, 02:50 AM
  4. Incorrect Stats in Disk Usage Viewer
    By Jeff75 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-19-2003, 01:56 PM
  5. incorrect disk usage reports
    By pr-design in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-05-2003, 07:37 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube