Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Aug 1998 15:48:52 -0700 (PDT)
From:      Tom <tom@uniserve.com>
To:        Dan Swartzendruber <dswartz@druber.com>
Cc:        Joe Gleason <clash@tasam.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Quota bug crashing system?
Message-ID:  <Pine.BSF.3.96.980808153328.3139C-100000@shell.uniserve.ca>
In-Reply-To: <3.0.5.32.19980808152803.0094d820@mail.kersur.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 8 Aug 1998, Dan Swartzendruber wrote:

> Speaking of quotas, maybe someone can enlighten me on a quota
> related issue: it seems that (at least as some 6 months or so ago),
> 2.2 didn't correctly handle SUID programs.  e.g. if a SUID root
> process has done setuid() (whichever flavor) to some less privileged
> UID, the original (root) quota continues to apply.  This is arguably
> a bug.  From what I can tell looking at the code, the decision about

  Not quite.  Quotas are done by file ownership, not the current uid.

  You should check that the file you are writing to is owned by someone
with the appropiate quota.

Tom


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980808153328.3139C-100000>