From owner-freebsd-security Wed Mar 17 6:42:14 1999 Delivered-To: freebsd-security@freebsd.org Received: from woodstock.monkey.net (pern-2-41.mdm.mkt.execpc.com [169.207.89.169]) by hub.freebsd.org (Postfix) with ESMTP id 50BA114BF1; Wed, 17 Mar 1999 06:42:10 -0800 (PST) (envelope-from hamilton@pobox.com) Received: from pobox.com (localhost [127.0.0.1]) by woodstock.monkey.net (Postfix) with ESMTP id 12DFF62; Wed, 17 Mar 1999 08:41:48 -0600 (CST) To: Ladavac Marino Cc: "'Dmitry Valdov'" , freebsd-current@FreeBSD.ORG, freebsd-security@FreeBSD.ORG Subject: Re: disk quota overriding In-reply-to: Your message of "Wed, 17 Mar 1999 14:37:32 +0100." <97A8CA5BF490D211A94F0000F6C2E55D097564@s-lmh-wi-900.corpnet.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 17 Mar 1999 08:41:47 -0600 From: Jon Hamilton Message-Id: <19990317144148.12DFF62@woodstock.monkey.net> Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <97A8CA5BF490D211A94F0000F6C2E55D097564@s-lmh-wi-900.corpnet.at>, La davac Marino wrote: } 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). Under HP-UX 9.x, the behavior you describe was the default, and it was changable by altering a kernel config parameter and relinking the kernel. The same tunable is available under 10.x, but I'm less certain what the default behavior is there. Whether quotas are enabled or not does not affect the behavior, only the kernel tunable parameter. -- Jon Hamilton hamilton@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message