Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 1999 14:37:32 +0100
From:      Ladavac Marino <mladavac@metropolitan.at>
To:        'Dmitry Valdov' <dv@dv.ru>, freebsd-current@freebsd.org, freebsd-security@freebsd.org
Subject:   RE: disk quota overriding
Message-ID:  <97A8CA5BF490D211A94F0000F6C2E55D097564@s-lmh-wi-900.corpnet.at>

next in thread | raw e-mail | index | archive | help
> -----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97A8CA5BF490D211A94F0000F6C2E55D097564>