Web lists-archives.com

Re: SUCCESS!!!! - was {Re: Backup problem using "cp"}




On 05/11/2018 02:47 PM, Pascal Hambourg wrote:
Le 11/05/2018 à 19:54, Richard Owlett a écrit :

I posted after having purged my system of the offending ???? and was writing from memory.

I believe there were two source directories
    /home/richard/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13
         and
     /root/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13
or
     /home/root/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13

Probably /root/... /home/root usually does not exist.

Looked further just now
Perhaps should have been:
  /home/root/...


The crud filled result was a "THING/glob/???" at:
     /media/richard/MISC  backups/dev_sda14/home/richard/.local/share
       /Trash/expunged/73080846/grub2 problem-2018-02-13

That is the result of the copy from /home/richard/. What makes you think that the directory tree in /root was involved ?

Grasping at straws ????
;/



What I was trying to document was that
     cp -ax /  /media/richard/MISC-backups/dev_sda14/root
should be have been expected to run to _intended result_.

In reality, there was a *PERVERSE* permutation of initial conditions.

I do not understand what you mean.

Makes two of us


IIUC, the error was caused by a very long pathname in the source path which exceeded the maximum length in the target path. After you removed the overlong directory chain, cp proceeded without error as expected.
Or did I miss something ?

Possibly. Just trying to explain things "After the Fact" [rofl]