Demi Marie Obenour wrote in <ZpRSEWkkG6hmNhNo@itl-email>: |On Sat, Jul 13, 2024 at 10:58:58PM +0200, Steffen Nurpmeso wrote: |> Jacob Bachmeyer wrote in |> <6691e39c.8090...@gmail.com>: |>|Steffen Nurpmeso wrote: |>|> [...] ... |> Some findings: ... |> . I always whimper when i have to rm(1) a running executable before |> placing an updated variant on Linux, on BSDs i simply over-cp(1) |> (and i do not understand as long as one gets either the one or |> the other when executing the path). ... |> But it is ok to me, Linux is as it is[.] | |Executable files and shared libraries should _never_ be modified |in-place. They should _always_ be renamed over. Otherwise, a program |might be a mixture of the old and new version, with completely undefined |results when the program is run.
So i am thankful i get this translucent impression of my Linux box and henceforth always use cp -f there, and cp on BSDs. Or is this a hint to GNU coreutils? (I rather would prefer either the one or the other, but not a messed up copy. Is that what they are doing?) --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)