# Automatically calculate the used quota on login That ended in ".log" from the automatic quota calculation, you might use: For example, if you wanted to exclude all files Question: If I use this ScanOnLogin option, how do I tell it to ignore certain files? Answer: Use the new This feature via the ScanOnLogin parameter of the Mod_quotatab would need to know to scan these shared directories.Īs of proftpd-1.3.1rc1, the mod_quotatab supports Have a shared directory that all users can use. Many sites have home directories for users, and AnotherĬomplication is the disk space used by a given user is not confined to Long, possibly long enough for users to notice and complain. Large/deep directories, however, the time needed to do the scan could be If the directory is relatively small, the time needed is small. The primary consideration is the time cost of having to recurse a directory. The amount of space used by a user?" The module could do this,īut there are some considerations with this kind of approach. This question is also often posed as "Why can't mod_quotatab just calculate States, the module was designed only to track changes done via FTP it Made using proftpd, and my users can add/remove files other ways.Īnswer: As the mod_quotatab documentation Question: mod_quotatab only tracks changes The bytes uploaded limit doubles as theĭisk space limit, for there is no effective difference between them anyīytes uploaded via FTP are automatically stored on disk. The module, I anticipated administrators wanting to limit download as wellĪs upload transfers in reality, most administrators wish to limit theĭisk space for their users. It's true that the various limits maintained by mod_quotatab,įor either bytes or files (or both), are confusing. Question: How do I set the disk space limit for a user?Īnswer: The short answer is to use the "upload bytes limit" setting. QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally SQLNamedQuery get-quota-limit SELECT "* FROM quotalimits WHERE name = '%" quotatallies # tally table quota data, please see the mod_quotatab_sql documentation # For more information on using a SQL database for storing the limit and QuotaTallyTable file:/etc/ftpd/ftpquota.tallytab QuotaLimitTable file:/etc/ftpd/ftpquota.limittab # table quota data, please see the mod_quotatab_file documentation. # For more information on using files for storing the limit and tally Here is an example mod_quotatab configuration for supporting Suggestions, questions, requests, etc for what you would like to see The mod_quotatabĭocumentation covers how to configure proftpd for quotas. ProFTPD, and easily handles virtual users. This module, being part of theĪpplication, applies to all the Unix kernels and filesystems which support Possible for many users to have the same user ID, which causes problems forįor these reasons, the mod_quotatab module was developed for ProFTPD. They also rely on each user having their own One disadvantage these OS-level quotas have, though, is that theyĪre strictly tied to OS and/or filesystem, and not all Unix kernels andįilesystems are the same. Proftpd, which means that the applications need not worryĪbout maintaining and enforcing quotas. Have the advantage of being transparent to applications like Most Unix systems have support for OS- or fileystem-level quotas. Thus many sites have a pressing need to set limits on just how much can The server, however, and eventually those files will take up too much space. There is not an infinite capacity on the disks of A busy FTP server handles hundreds to thousands of files belonging to hundreds
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |