Date: Wed, 17 Mar 1999 15:37:03 +0300 (MSK) From: Dmitry Valdov <dv@dv.ru> To: freebsd-current@freebsd.org, freebsd-security@freebsd.org Subject: Re: disk quota overriding Message-ID: <Pine.BSF.3.95q.990317153543.5316A-100000@xkis.kis.ru> In-Reply-To: <Pine.BSF.3.95q.990317143707.15120A-100000@xkis.kis.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi!
I think that there is only one way to fix it - it's to disable making
*hard*links to directory with mode 1777.
On Wed, 17 Mar 1999, Dmitry Valdov wrote:
> Date: Wed, 17 Mar 1999 14:42:46 +0300 (MSK)
> From: Dmitry Valdov <dv@dv.ru>
> To: freebsd-current@freebsd.org, freebsd-security@freebsd.org
> Subject: disk quota overriding
>
> Hi!
>
> There is a way to overflow / filesystem even is quota is enabled.
>
> Just make many hard links (for example /bin/sh) to /tmp/
>
> for ($q=0;$q<100000;$q++){
> system ("ln /bin/sh /tmp/ln$q");
> }
>
> Because /tmp directory usually owned by root that why quotas has no effect.
> *Directory* size of /tmp can be grown up to available space on / filesystem.
>
> Any way to fix it?
>
> Dmitry.
>
>
>
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?Pine.BSF.3.95q.990317153543.5316A-100000>
