From owner-freebsd-questions@FreeBSD.ORG Sat Jun 28 18:45:43 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8931F37B401 for ; Sat, 28 Jun 2003 18:45:43 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEC4643FBF for ; Sat, 28 Jun 2003 18:45:42 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h5T1jgl8091925; Sat, 28 Jun 2003 20:45:42 -0500 (CDT) (envelope-from dan) Date: Sat, 28 Jun 2003 20:45:42 -0500 From: Dan Nelson To: Josh Brooks Message-ID: <20030629014542.GA84766@dan.emsphone.com> References: <20030628183254.U57224-100000@mail.econolodgetulsa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030628183254.U57224-100000@mail.econolodgetulsa.com> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: questions@freebsd.org Subject: Re: question regarding quotas X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2003 01:45:43 -0000 In the last episode (Jun 28), Josh Brooks said: > I have a group of 5 users that I want to set up quotas for - their home > directories are: > > /export/data1/user1 > /export/data1/user2 > /export/data1/user3 > /export/data1/user4 > /export/data1/user5 > > And they will be given free reign to fill up those directories > however they choose. > > At the same time, there will be a fair number of automated processes > on the system that place files and directories and logs and other > files into their home directories. So, as time goes by, not only > will the users themselves fill up their dirs, but other processes on > the system will fill up their dirs. These files and dirs that are > created by these other processes will be owned by various usernames - > bind, www, root - and have different groups set to them as well. > > My question is, will the extra files and dirs that get placed in > their home dir by all these automated processes count towards their > quota ? If not, is there a way to set up quotas so that _they do_ ? Quotas are per-user, not per-directory. Any files those users create, anywhere in that filesystem, will contribute to their quota. Files created by other userids but placed in those directories will count against the other user's quota. Basically what happens with per-directory quotas is that the users learn not to put files in their homedir :) They end up finding someplace that they can write to outside their homedir and put files there instead. -- Dan Nelson dnelson@allantgroup.com