Limiting Filesizes with /etc/login.conf

Lowell Gilbert lgusenet at be-well.ilk.org
Wed May 18 12:10:21 PDT 2005


This has nothing to do with filesystems, so I redirected the message
to -questions.

james at rtxnetworks.co.uk (James Tucker) writes:

> I have been trying to set max file size limits for class of users on my
> system. I have tried to setup a specific class for this purpose and
> while it "cap_mkdb's" with no error messages when I copy files over to
> the users directory I find that I can upload files of any size!

The process filesize limit affects how big a file the user can
*create*, not how large a file she can *own*.  If you want to limit
the latter, you use disk quotas.  [There is a section on them in the
FreeBSD Handbook.]

Good luck.


More information about the freebsd-questions mailing list