Re: Limiting Filesizes with /etc/login.conf
James Tucker wrote: Yes, your reply does answer my question, quota'ing does seem to be a solution but I don't want to restrict from users for possessing multiples of 10MB files. I have already implemented quota's to prevent them from taking up more than their designated home dir space, although it didn't seem, from what I have read, that is possible to do much else with the quotas? Then you'll have to do what syadmins have been doing since time immemorial: write your own script. Find over the filesystems you care about looking for files which the parameters you care about. Send mail when you find something, or be nasty and delete the file or whatever. Run it from cron as often as you deem necessary. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Limiting Filesizes with /etc/login.conf
Yes, your reply does answer my question, quota'ing does seem to be a solution but I don't want to restrict from users for possessing multiples of 10MB files. I have already implemented quota's to prevent them from taking up more than their designated home dir space, although it didn't seem, from what I have read, that is possible to do much else with the quotas? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert Sent: 19 May 2005 14:16 To: James Tucker Subject: Re: Limiting Filesizes with /etc/login.conf "James Tucker" <[EMAIL PROTECTED]> writes: > Thanks, I have subscribed to the -questions mailling list. The convention on that list is to copy the sender on everything, so you can ask questions without being subscribed. [The reverse of most other mailing lists, but -questions exists specifically to act as a tech support forum. I *think* my answer was probably what you needed, though; if I guessed wrong about what you're trying to do, you'll need to provide more information. > James > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Lowell Gilbert > Sent: 18 May 2005 20:16 > To: James Tucker; [EMAIL PROTECTED] > Subject: Re: Limiting Filesizes with /etc/login.conf > > > This has nothing to do with filesystems, so I redirected the message to > -questions. > > [EMAIL PROTECTED] (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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Limiting Filesizes with /etc/login.conf
Hi, Thanks, I have subscribed to the -questions mailling list. James -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert Sent: 18 May 2005 20:16 To: James Tucker; [EMAIL PROTECTED] Subject: Re: Limiting Filesizes with /etc/login.conf This has nothing to do with filesystems, so I redirected the message to -questions. [EMAIL PROTECTED] (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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Limiting Filesizes with /etc/login.conf
This has nothing to do with filesystems, so I redirected the message to -questions. [EMAIL PROTECTED] (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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"