Disk quotas

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Oct 2 07:04:20 PDT 2004

On Sat, Oct 02, 2004 at 11:29:00AM +0200, John Oxley wrote:
> The Question:
> 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



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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041002/7cc2a794/attachment.bin

More information about the freebsd-questions mailing list