pure-quotacheck(8)
π pure-quotacheck(8) β Pure-FTPd's own little quota gremlin
okay so real talk, this is pure-quotacheck, a manual page from the Pure-FTPd fam, and it's genuinely one of the most useful lowkey tools in the whole suite if you're running virtual quotas β¨
π NAME
pure-quotacheck β updates the virtual quota files for Pure-FTPd, bestie. that's the whole job. no cap.
πΈ SYNTAX
pure-quotacheck -u username/gid -d home directory [-g group/gid]
π¦ DESCRIPTION
so pure-quotacheck creates a .ftpquota file inside whatever directory you point it at π that file holds the current file count and the size of that directory, and Pure-FTPd reads it when virtual quotas are turned on. it's literally the receipts for your users' disk usage.
and like, the recommendation? run pure-quotacheck periodically for every single user, in crontabs. every user. in crontabs. she said what she said π«Ά
β¨ OPTIONS β¨
-d <directory>β scans the<directory>you give her. that's the target, the main character, the vibe check destination π-g <group or gid>β sets the group that files will be scanned as. this one's optional bestie: if you pass a user name to-u, the groups get retrieved automatically for you π«-u <user or uid>β sets the user name that files will be scanned as. this is mandatory, like non-negotiable, and heads up: it can't be"root"π-hβ outputs usage information and dips (exits). love an icon who explains herself then leaves π
π FILES
.ftpquota
that's it. that's the file. she's small but she's doing so much π
β EXAMPLES
to run this program the standard way, type:
pure-quotacheck -u john -d /home/john
and that's it, that's the whole slay π₯
π AUTHORS
Frank DENIS <j at pureftpd dot org>
π§ SECURITY
okay this section is the serious one, so like, listen up bestie, because these are real protections and not just vibe:
pure-quotacheckswitches real and effective uids/gids as soon as possible. root privileges are never given back. periodt.pure-quotacheckrefuses to scan directories withuid = 0(root) orgid = 0(wheel/root). not today, not ever πpure-quotacheckperforms achroot()call to the home directory. it never traverses parent directories. she stays in her lane, literally.pure-quotacheckonly scans real files (no socket, no pipe, etc). if it's not a real file it's not getting counted, sorry.pure-quotacheckenforces read access on directories to prevent against people doingchmod 0before a quota scan. sneaky behaviour? blocked π«pure-quotacheckenforces write access on the home directory to properly write the.ftpquotafile. gotta have somewhere to put the receipts.pure-quotachecknever scans the same inode/device pair twice. no double counting, no inflation, we're accurate in this house π
π SEE ALSO
ftp(1), pure-ftpd(8) pure-ftpwho(8) pure-mrtginfo(8) pure-uploadscript(8) pure-statsdecode(8) pure-pw(8) pure-quotacheck(8) pure-authd(8) pure-certd(8)
RFC 959, RFC 2228, RFC 2389 and RFC 2428 π
alright that's the page!! this one's pure-quotacheck(8), version 1.0.54, written by Frank Denis β mwah, sending her a little kiss, she ate and left no crumbs ππβ¨
π¦ where this page comes from
- alpine 3.24: pure-ftpd-doc 1.0.54-r0 Β· ISC
- nixos 26.05: pure-ftpd 1.0.54
- nixpkgs unstable: pure-ftpd 1.0.54
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms