From owner-freebsd-current Wed Mar 17 5:40:47 1999 Delivered-To: freebsd-current@freebsd.org Received: from titan.metropolitan.at (unknown [195.212.98.131]) by hub.freebsd.org (Postfix) with ESMTP id C24FD15165; Wed, 17 Mar 1999 05:40:36 -0800 (PST) (envelope-from mladavac@metropolitan.at) Received: by TITAN with Internet Mail Service (5.0.1458.49) id ; Wed, 17 Mar 1999 14:42:39 +0100 Message-ID: <97A8CA5BF490D211A94F0000F6C2E55D097564@s-lmh-wi-900.corpnet.at> From: Ladavac Marino To: 'Dmitry Valdov' , freebsd-current@freebsd.org, freebsd-security@freebsd.org Subject: RE: disk quota overriding Date: Wed, 17 Mar 1999 14:37:32 +0100 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Dmitry Valdov [SMTP:dv@dv.ru] > Sent: Wednesday, March 17, 1999 1:37 PM > To: freebsd-current@freebsd.org; freebsd-security@freebsd.org > Subject: Re: disk quota overriding > > Hi! > > > I think that there is only one way to fix it - it's to disable making > *hard*links to directory with mode 1777. > [ML] But only if the quotas have been turned on. BTW, has chown been "fixed" to the ludicrous SysV semantics that the root and owner can chown a file? If so, the latter has to be disabled in presence of quotas on the volume--otherwise: touch big_file chmod 777 big_file chown root:wheel big_file cat /dev/zero >>big_file This joke used to work on HPUX 10.something which kept the owner-may-chown semantics even in presence of quotas. It was not funny. (I don't know whether HP has fixed that). /Marino To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message