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

sneader

Well-Known Member
Aug 21, 2003
1,195
63
178
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 [email protected] 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
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
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
UID 65535 is the nobody account on some systems. Why that got used on yours, I cannot say.