[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31335: unexpected cp -f behavior
From: |
Ernesto Alfonso |
Subject: |
bug#31335: unexpected cp -f behavior |
Date: |
Tue, 01 May 2018 11:14:44 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
cp -f fails when destination is a recursive symlink:
$ ln -s self self
$ cat self
self: Too many levels of symbolic links
$ touch a
$ cp a self
cp: failed to access 'self': Too many levels of symbolic links
$ cp -f a self
cp: failed to access 'self': Too many levels of symbolic links
>From the man page:
-f, --force
if an existing destination file cannot be opened, remove it and
try again (this option is ignored when
the -n option is also used)
What am I missing?
Thanks,
Ernesto
- bug#31335: unexpected cp -f behavior,
Ernesto Alfonso <=
- bug#31335: unexpected cp -f behavior, Pádraig Brady, 2018/05/04
- Message not available
- bug#31335: Fwd: bug#31335: unexpected cp -f behavior, Ernesto Alfonso, 2018/05/04
- bug#31335: Fwd: bug#31335: unexpected cp -f behavior, Pádraig Brady, 2018/05/15
- bug#31335: Fwd: bug#31335: unexpected cp -f behavior, Paul Eggert, 2018/05/15
- bug#31335: Fwd: bug#31335: unexpected cp -f behavior, Pádraig Brady, 2018/05/16
- bug#31335: Fwd: bug#31335: unexpected cp -f behavior, Pádraig Brady, 2018/05/17