#1 (permalink)  
Old 07-13-2009, 03:54 AM
Registered User
 
Join Date: Nov 2008
Posts: 67
santrix is on a distinguished road
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-13-2009, 09:53 AM
cpanelkenneth's Avatar
cPanel Quality Assurance
 
Join Date: Apr 2006
Posts: 3,222
cpanelkenneth is on a distinguished road
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.
__________________
cPanel Kenneth
cPanel QA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
incremental backups are counted against the clients quota akiyuki cPanel and WHM Discussions 4 04-18-2007 06:07 AM
Find files owned by 'nobody' compunet2 cPanel and WHM Discussions 1 10-18-2006 04:23 PM
Files Owned by nobody and Disk Usage! IdleServ cPanel and WHM Discussions 8 09-01-2006 01:08 PM
Quota problem with nobody owned thumbs Jorge cPanel and WHM Discussions 3 07-30-2005 03:09 PM
Files owned by unpriveliged user fdesign cPanel and WHM Discussions 0 01-17-2004 06:09 PM


All times are GMT -5. The time now is 04:43 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc