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.

upcp log error: Unable to update the quota file (.ftpquota): [Permission denied]

Discussion in 'General Discussion' started by sneader, Sep 1, 2010.

  1. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Noticing this in my upcp log:

    (snip)
    Ftp Quota Check v1.7
    (snip)
    Updating mkdcoisl: ...Done
    Updating hjgaecom: ...Done
    Updating exampcom: moe ... Unable to update the quota file (.ftpquota): [Permission denied]
    ...Done

    Updating khjzcom: ...Done
    Updating rhriperw: ...Done
    (snip)

    Looking in this user's cPanel, under FTP accounts, indeed there is an FTP user moe@example.com with a root directory of public_ftp. Disk Usage says "none" and Quota says "none"

    Looked in /home/exampcom/public_ftp/ and I see:

    -rw------- 1 65535 ftp 11 Feb 27 2008 .ftpquota

    So, the file owner is some UID and must be causing this problem. What should this be set to? root? Or exampcom? I'm assuming the group of 'ftp' is correct.

    - Scott
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    It should be username of the domain, in your case is "exampcom".

     
    sneader likes this.
  3. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Thanks, this worked great. I also created some FTP accounts and confirmed that it is creating them as user.user, so not sure where the 65535.ftp stuff came from!

    - Scott
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    UID 65535 is the nobody account on some systems. Why that got used on yours, I cannot say.
     
Loading...

Share This Page