Bug#789610: symlink(2) refuses to let me create an empty symlink
Package: linux-image-3.2.0-4-amd64
Version: 3.2.68-1+deb7u1
I may be tilting at windmills here, but I think
ln -s '' foo
should work, rather than failing with ENOENT.
The fact that it didn't work inconvenienced me while I was trying to
write a test case for some other software. I would have been happy
for the link to be created and then be un-dereferenceable.
I would, in fact, have been happy with either the traditional BSD
behaviour (create the link, treat it as a link to "."), or the
traditional SysV behaviour (create the link, dereferencing gives
ENOENT).
See also:
https://lwn.net/Articles/551224/
https://lwn.net/Articles/551228/
Do you think you could try to use any good connections you have to get
this fixed ?
Ian.
Reply to: