Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 1999 01:43:39 +1300
From:      Andrew McNaughton <andrew@squiz.co.nz>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        Dmitry Valdov <dv@dv.ru>, freebsd-current@FreeBSD.ORG, freebsd-security@FreeBSD.ORG
Subject:   Re: disk quota overriding 
Message-ID:  <199903181243.BAA22599@aniwa.sky>
In-Reply-To: Your message of "Thu, 18 Mar 1999 03:03:06 %2B0900." <36EFEE5A.DE68FF5F@newsguy.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Dmitry Valdov wrote:
> > I think that there is only one way to fix it - it's to disable making
> > *hard*links to directory with mode 1777.

I don't use quotas, and don't know a great deal about how they operate, but I think there's another disk filling DOS involving hard links lurking which the above measure would also solve.

If a user starts making hard links to (large and growing) log files, with the new links being placed in /var/mail, then presumably those log files will not be deleted correctly as they are rolled over, and will quickly accumulate.

This could not bring down a system as rapidly as growing the publicly writable directory with lots of links, but it is not desirable system behaviour.

Andrew McNaughton



-- 
-----------
Andrew McNaughton
andrew@squiz.co.nz
http://www.newsroom.co.nz/




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?199903181243.BAA22599>