Cannot remove symbolic link to directory.
I have
~/dir1/dir2
and created a symbolic link to dir2:
ln -s ~/dir1/dir2 ~/symlink
Now I can't remove symlink! I get the errors:
$rm symlink/
rm: cannot remove directory 'testsymboliclink/': Is a directory
$rmdir symlink/
rmdir: 'testsymboliclink/': Not a directory
This is REALLY weird. I even cannot
$unlink symlink/
unlink: 'testsymboliclink/': Not a directory
I can't even remove the link, if the dir is empty. Please help me...
Last edited by martint; 11-19-2003 at 11:45 AM.
|