The Samba-Bugzilla – Bug 8696
can't remove a symlink targeting at itself
Last modified: 2012-01-11 21:32:18 UTC
I have samba Linux server (version 3.6.0). I access it from Linux and MacOSX clients.
I can create a symlink pointing at the symlink itself at a mounted share, but I'm not allowed to remove the symlink after that.
How to reproduce the bug:
$ cd /path/to/share
$ ln -s file.link file.link
ln: failed to create symbolic link 'file.link': Not a directory
But the symlink exists at the share!
$ rm file.link
rm: cannot remove 'file.link': Not a directory
*** This bug has been marked as a duplicate of bug 8663 ***