Date: Sat, 2 Oct 2004 15:02:01 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: John Oxley <john.oxley@gmail.com> Cc: Me <oxo@rucus.net> Subject: Re: Disk quotas Message-ID: <20041002140201.GB30405@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <ba2001e5041002022945d07f7a@mail.gmail.com> References: <ba2001e5041002022945d07f7a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--/WwmFnJnmDyWGHa4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 02, 2004 at 11:29:00AM +0200, John Oxley wrote: =20 > The Question: >=20 > Can quota be told that all files in ~luser belong to luser as well as > all files owned by luser. The simplest way to do that is to give each user their own individual group, and then simply use the *group* quotas rather than the individual per-user quotas. This works very well where the user is having files created on their behalf by other UIDs (eg. httpd in this case) because of the standard BSD behaviour that files default to inheriting the same group ownership as the directory they are created in. With some exceptions for files created by root, or where the sticky bit is set on the directory. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --/WwmFnJnmDyWGHa4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBXrTZiD657aJF7eIRAvqhAKCmvo8UHjo+Rc4wgBeQY9UuJZ0RyACglFjs zStpxVHDqW4tDzzPF6s8wuY= =tozV -----END PGP SIGNATURE----- --/WwmFnJnmDyWGHa4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041002140201.GB30405>