is there a bug in cp command ?

2025-03-10 Thread uw...@online.de
hi, i try to use cp -ax / /mnt (cp space -ax space / space /mnt) which in debian 9,10,11 worked fine but in debian 12 (and lmde 6 (LinuxMintDebianEdition)) it does not work. the error is: #root@Server001:~# cp -ax / /mnt #cp: das Verzeichnis '/mnt/' kann nicht angelegt werden: Datei oder Ver

Re: is there a bug in cp command ?

2025-05-20 Thread uw...@online.de
I solved the Problem for me by copy the File /usr/bin/cp from Debian 11 to /usr/bin/cp2 on Debian 12 Now i can run "cp2 -ax / /mnt" and it works like expected. "cp -ax / /mnt" with original debian 12 cp brings error on this point. You can test it. So there must be a difference between the old