Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Nov 2008
    Posts
    167

    Default Files owned by nobody not counted in quota

    As well as mysql databases not being counted into a user's quota, there also appears to be an issue with files that are uploaded via PHP when running PHP as a module.

    Many of my customer's sites use some form of content management, and this often means that files are uploaded and end up on the server being owned by the nobody user (as PHP runs as nobody).

    Without getting into the reasons for this, and why it is or isn't a good idea, I would like to know if there is a way to get WHM to count these files in with the user's current usage as I have some users who are way over quota, and are getting away with it because in WHM Account Information - "List Accounts" it looks like they are within quota.

    Strangely, if I go into Cpanel for that user, and look at Disk Usage then everything appears correct (i.e. the usage is counted up properly).

    Anyone else fallen prey to this shortcoming?

  2. #2
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quota based reports will only report on files and directories that are owned by the account. Files and directories owned by the nobody account are not owned by the account you are examining.

    The Disk Usage utility does not examine ownership, it merely does an equivalent of 'du -hs' on the home directory.
    Kenneth
    Product Development
    cPanel, Inc.

Similar Threads & Tags
Similar threads

  1. nobody-owned files don't count towards quota?
    By astopy in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 12-06-2011, 09:26 PM
  2. Re: Quota problem with nobody owned thumbs
    By samuelmf in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-20-2011, 05:53 PM
  3. incremental backups are counted against the clients quota
    By akiyuki in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-18-2007, 06:07 AM
  4. Find files owned by 'nobody'
    By compunet2 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-18-2006, 04:23 PM
  5. Quota problem with nobody owned thumbs
    By Jorge in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-30-2005, 03:09 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube