On 12/27/2013 12:31 PM, Pádraig Brady wrote:
> This is a bug and happens when ln tries to determine of the last arg is a 
> directory.
> It does a stat(2) which gives this error. ENOENT is specifically ignored, but 
> it
> seems like others should be too. You can see the source of the error with:
> 
> $ stat -L len256
> stat: cannot stat `len256': File name too long
> 
> When resetting symlinks to point to somewhere else I always use -nsf
> and that does avoid the issue here too.

Note the 255 limit probably comes from:

$ getconf NAME_MAX .
255

Pádraig.

Reply via email to