Date: Sun, 26 Sep 2010 18:24:27 GMT From: "Kevin K. Han" <ikevin.c11@revvo.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/150972: symbolic link bug Message-ID: <201009261824.o8QIORiF092345@www.freebsd.org> Resent-Message-ID: <201009261830.o8QIU8Ml037348@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009261824.o8QIORiF092345>
