Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2002 14:45:16 -0400
From:      "Kurt J. Lidl" <lidl@pix.net>
To:        Michael Smith <msmith@FreeBSD.ORG>
Cc:        Doug White <dwhite@resnet.uoregon.edu>, =?iso-8859-1?Q?Pawe=B3_Jakub_Dawidek?= <nick@garage.freebsd.pl>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Hardlinks...
Message-ID:  <20020408144516.B2035@pix.net>
In-Reply-To: <200204081841.g38Ifi104580@mass.dis.org>; from msmith@FreeBSD.ORG on Mon, Apr 08, 2002 at 11:41:44AM -0700
References:  <20020408113423.Y81506-100000@resnet.uoregon.edu> <200204081841.g38Ifi104580@mass.dis.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 08, 2002 at 11:41:44AM -0700, Michael Smith wrote:
> You could also use this technique to maliciously exhaust a user's quota, 
> by linking to their temporary files.  I'm not sure what the standards 
> have to say about this, but I don't much like the current behaviour.

The truely paranoid ftruncate the file size to zero if the link count
is larger than one.

-Kurt

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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