From owner-freebsd-hackers Mon Apr 8 11:43:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (dhcp45-24.dis.org [216.240.45.24]) by hub.freebsd.org (Postfix) with ESMTP id B07B937B405 for ; Mon, 8 Apr 2002 11:43:14 -0700 (PDT) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.6) with ESMTP id g38Ifi104580; Mon, 8 Apr 2002 11:41:45 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200204081841.g38Ifi104580@mass.dis.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Doug White Cc: =?ISO-8859-2?Q?Pawe=B3_Jakub_Dawidek?= , freebsd-hackers@FreeBSD.ORG Subject: Re: Hardlinks... In-reply-to: Your message of "Mon, 08 Apr 2002 11:37:38 PDT." <20020408113423.Y81506-100000@resnet.uoregon.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Mon, 08 Apr 2002 11:41:44 -0700 From: Michael Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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