Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Apr 2002 11:41:44 -0700
From:      Michael Smith <msmith@freebsd.org>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        =?ISO-8859-2?Q?Pawe=B3_Jakub_Dawidek?= <nick@garage.freebsd.pl>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Hardlinks... 
Message-ID:  <200204081841.g38Ifi104580@mass.dis.org>
In-Reply-To: Your message of "Mon, 08 Apr 2002 11:37:38 PDT." <20020408113423.Y81506-100000@resnet.uoregon.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> On Mon, 8 Apr 2002, [ISO-8859-2] Pawe=B3 Jakub Dawidek wrote:
> =

> > Simple example why I think that only owner should have permission to =
create
> > hardlinks to his files.
=2E..
> I see you forgot to 'ls -l' the resultant link ... you'll find that it =
has
> the same permissions and ownership as the original file. Oops.

You misunderstand the original poster's complaint.

The issue is that a non-owner can cause the owner's file to remain alive =

even after the owner has deleted it.  Hence the comment about "later =

breakin".

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.

-- =

To announce that there must be no criticism of the president,
or that we are to stand by the president, right or wrong, is not
only unpatriotic and servile, but is morally treasonable to =

the American public.  - Theodore Roosevelt



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?200204081841.g38Ifi104580>