Limiting Filesizes with /etc/login.conf

Doug White dwhite at gumbysoft.com
Wed May 18 23:30:06 GMT 2005


On Wed, 18 May 2005, James Tucker wrote:

> 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!
>
> This is the class that I have configured in /etc/login.conf:

People typically use quotas to enforce filesystem usage restrictions.

Not all of the login capabilities are implemented.  Support depends on the
application in question.  Network servers may run with privilege, which
ignores limits, or not set up the capability's limits.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-fs mailing list