bug#23120: cp with --dereference (-L) and --link (-l) or --symbolic-link (-s)

2018-10-27 Thread Assaf Gordon
unarchive 15173 merge 23120 15173 tags 23120 fixed close 23120 stop (triaging old bugs) On 2016-03-26 11:26 a.m., Pádraig Brady wrote: On 26/03/16 10:36, Petr Skočík wrote: I'm on a system with cp 8.21, and when I do `cp -Ll` or `cp -Ls` on a symlink, it hardlinks (-Ll) or symlinks (-Ls)

bug#23120: cp with --dereference (-L) and --link (-l) or --symbolic-link (-s)

2016-03-26 Thread Pádraig Brady
unarchive 15173 stop On 26/03/16 10:36, Petr Skočík wrote: Hi, I'm on a system with cp 8.21, and when I do `cp -Ll` or `cp -Ls` on a symlink, it hardlinks (-Ll) or symlinks (-Ls) the symlink instead of the target of the symlink. It behaves the same on single files and trees (with `-r`). I

bug#23120: cp with --dereference (-L) and --link (-l) or --symbolic-link (-s)

2016-03-26 Thread Petr Skočík
Hi, I'm on a system with cp 8.21, and when I do `cp -Ll` or `cp -Ls` on a symlink, it hardlinks (-Ll) or symlinks (-Ls) the symlink instead of the target of the symlink. It behaves the same on single files and trees (with `-r`). I think the logical thing to do would be for to `cp` to symlink or