Limiting Filesizes with /etc/login.conf

James Tucker james at rtxnetworks.co.uk
Thu May 19 01:01:41 PDT 2005


Hi, 

Thanks, I have subscribed to the -questions mailling list.

James 

-----Original Message-----
From: lowell at be-well.ilk.org [mailto:lowell at be-well.ilk.org] On Behalf
Of Lowell Gilbert
Sent: 18 May 2005 20:16
To: James Tucker; questions at freebsd.org
Subject: Re: Limiting Filesizes with /etc/login.conf


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