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.

CPanel 10.6.0-RELEASE x quota file publicly editable, that means no quota!

Discussion in 'General Discussion' started by hexstar, Aug 20, 2005.

  1. hexstar

    hexstar Active Member

    Joined:
    Jun 23, 2004
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Internet
    Well I've noticed this with a number of hosts, all of which used 10.6.0-RELEASE x (where x is any of the revisions of this cpanel build) that their disk space quota file and others like the subdomain quota file are availible to the client and fully editable by the client...that means the client can give themself however much diskspace they want or to just give themselves no quota all together! Here's how:

    1) Login to cpanel
    2) Open the file manager
    3) Go into the folder .cpanel-datastore
    4) Edit the file quota_-v to your liking
    5) Save it and enjoy!

    Also I noticed that the file seems to be replaced at unknown intervals, this can be circumvented simply by creating a cp cronjob that replaces the quota file with the desirable version every minute :eek: ...not sure if this is known, a bug or what but I thought you guys would want to know about this :eek: (although I admittedly do enjoy this oddity :p)
     
    #1 hexstar, Aug 20, 2005
    Last edited: Aug 20, 2005
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider

    This is just a cached value to save cpu time. You can change what it displays in cPanel, but its not going to affect the actual quota. Its more like lying to yourself.
     
  3. hexstar

    hexstar Active Member

    Joined:
    Jun 23, 2004
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Internet
    oh o_O :(...oh well XD
     
Loading...

Share This Page