[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#789610: symlink(2) refuses to let me create an empty symlink



Control: reassign -1 src:linux 3.2.68-1+deb7u1
Control: tag -1 upstream

On Mon, 2015-06-22 at 17:10 +0100, Ian Jackson wrote:
> 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 ?

Don't hold your breath.

Ben.

-- 
Ben Hutchings
All extremists should be taken out and shot.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: