From owner-freebsd-stable Sat Aug 8 15:49:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA04119 for freebsd-stable-outgoing; Sat, 8 Aug 1998 15:49:22 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from pop.uniserve.com (pop.uniserve.com [204.244.156.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA04114 for ; Sat, 8 Aug 1998 15:49:20 -0700 (PDT) (envelope-from tom@uniserve.com) Received: from shell.uniserve.ca [204.244.186.218] by pop.uniserve.com with smtp (Exim 1.82 #4) id 0z5HnC-0006vH-00; Sat, 8 Aug 1998 15:48:54 -0700 Date: Sat, 8 Aug 1998 15:48:52 -0700 (PDT) From: Tom X-Sender: tom@shell.uniserve.ca To: Dan Swartzendruber cc: Joe Gleason , freebsd-stable@FreeBSD.ORG Subject: Re: Quota bug crashing system? In-Reply-To: <3.0.5.32.19980808152803.0094d820@mail.kersur.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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