>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
[email protected]:/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:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"