1pure-quotacheck(8)                 Pure-FTPd                pure-quotacheck(8)
2
3
4

NAME

6       pure-quotacheck - Update virtual quota files for Pure-FTPd
7

SYNTAX

9       pure-quotacheck -u username/gid -d home directory [-g group/gid]
10

DESCRIPTION

12       pure-quotacheck create a .ftpquota file in the specified directory.
13       This  file  contains the current file and size of the directory, and it
14       is used by Pure-FTPd when virtual quotas are enabled.
15       It's recommended to periodically run pure-quotacheck for every user, in
16       crontabs.
17

OPTIONS

19       -d <directory>
20              Scans the specified <directory>.
21
22       -g <group or gid>
23              Sets the group files will be scanned as. This is optional : if a
24              user  name  is  passed  to  -u</fR>,  group  are   automatically
25              retrieved.
26
27       -u <user or uid>
28              Set  the  user name files will be scanned as. This is mandatory,
29              and it can't be "root".
30
31       -h     Output usage information and exit.
32

FILES

34       .ftpquota
35

EXAMPLES

37       To run this program the standard way type:
38
39       pure-quotacheck -u john -d /home/john
40

AUTHORS

42       Frank DENIS <j at pureftpd dot org>
43

SECURITY

45       pure-quotacheck switches real and effective uids/gids as soon as possi‐
46       ble. Root privileges are never given back.
47       pure-quotacheck  refuses to scan directories with uid = 0 (root) or gid
48       = 0 (wheel/root) .
49       pure-quotacheck performs a chroot() call  to  the  home  directory.  It
50       never traverses parent directories.
51       pure-quotacheck only scans real files (no socket, no pipe, etc) .
52       pure-quotacheck  enforces read access on directories to prevent against
53       people doing chmod 0 before a quota scan.
54       pure-quotacheck enforces write access on the home directory to properly
55       write the .ftpquota file.
56       pure-quotacheck never scans the same inode/device pair twice.
57
58

SEE ALSO

60       ftp(1),   pure-ftpd(8)   pure-ftpwho(8)  pure-mrtginfo(8)  pure-upload‐
61       script(8)  pure-statsdecode(8)  pure-pw(8)   pure-quotacheck(8)   pure-
62       authd(8)
63
64       RFC 959, RFC 2228, RFC 2389 and RFC 2428.
65
66
67
68Pure-FTPd team                      1.0.32                  pure-quotacheck(8)
Impressum