Message376928
Check out this default behavior of /bin/cp though:
$ mkdir a b
$ echo content > a/file
$ ln -s non-existing b/file
$ cp a/file b
cp: not writing through dangling symlink 'b/file'
Shouldn't shutil.copy*() refuse to write trough a dangling symlink to non-existent
file? (ATM it seems it just silently creates the file, or fails if it can not be
created). |
|
Date |
User |
Action |
Args |
2020-09-15 06:23:53 | Pavel Raiskup | set | recipients:
+ Pavel Raiskup, r.david.murray, theger |
2020-09-15 06:23:53 | Pavel Raiskup | set | messageid: <1600151033.4.0.100510256288.issue34374@roundup.psfhosted.org> |
2020-09-15 06:23:53 | Pavel Raiskup | link | issue34374 messages |
2020-09-15 06:23:53 | Pavel Raiskup | create | |
|