From owner-freebsd-bugs@FreeBSD.ORG Sun Sep 26 18:30:08 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD1621065674 for ; Sun, 26 Sep 2010 18:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8BECC8FC1C for ; Sun, 26 Sep 2010 18:30:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8QIU8S3037350 for ; Sun, 26 Sep 2010 18:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8QIU8Ml037348; Sun, 26 Sep 2010 18:30:08 GMT (envelope-from gnats) Resent-Date: Sun, 26 Sep 2010 18:30:08 GMT Resent-Message-Id: <201009261830.o8QIU8Ml037348@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Kevin K. Han" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CD62106566B for ; Sun, 26 Sep 2010 18:24:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4058FC13 for ; Sun, 26 Sep 2010 18:24:28 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8QIORnH092347 for ; Sun, 26 Sep 2010 18:24:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8QIORiF092345; Sun, 26 Sep 2010 18:24:27 GMT (envelope-from nobody) Message-Id: <201009261824.o8QIORiF092345@www.freebsd.org> Date: Sun, 26 Sep 2010 18:24:27 GMT From: "Kevin K. Han" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/150972: symbolic link bug X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2010 18:30:08 -0000 >Number: 150972 >Category: misc >Synopsis: symbolic link bug >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 26 18:30:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Kevin K. Han >Release: 8.1 >Organization: The Global Technopolis Corporation >Environment: 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Create a directory on the root folder, for example ("/whatever"). Switch to user's home directory ("cd /usr/home/username") ... from now onwards, work in this directory: Create a symbolic link from inside a user's home ("ln -s /whatever .") Execute this: ("chown -R username:username whatever") Try to delete it using ("rm whatever")... it will say it is a directory. It is still not deleted! Then, try to delete using ("rm -r -f whatever/"), no errormessage, BUT It is still there! Then, again, try the same thing ("rm whatever")... It is GONE, INCLUDING the original at "/whatever" !!! >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: