Hey All, 

I cannot seem to delete a soft link (ln -s) that is pointing to a directory
without renaming the directory first. If I try to delete the link it
complains that the link is a directory (which it is pointing to). If I
delete using rm -rf, it deletes the directory that is pointed to but not the
link -- I have been burned by that one!

FreeBSD 4.3

Here is a little test:

%mkdir me
%cd /root
%ln -s /tmp/me MyTmp
%rm -f MyTmp/
rm: MyTmp/: is a directory
%rm -rf MyTmp/  (deletes the directory it points to)
%rm -f MyTmp    (deletes the link)

Help, suggestions, magic?



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to