well ive using Linux Zorin and my issue was trying to copy over my home folder to an external drive while my computer is booted on a iso ( bootable usb drive ) as ive messed up my sdd and it now doest bootup properly so im doing a new install, this time i hope to install windows 7 then zorin OZ successfully or just Zorin OS, im not sure if i should dual boot or do linux with virtual machine.
what i did :
install caja ( through command line or software store )
run caja as root ( i used command line and run it as ROOT )
copy and paste my files i wanted, skipped the stuff that didnt want to copy and hopefully the ones i dont care about )
DONE.
for me 20gb of my home folder is taking forever, the few minutes it has been feels like an internity right now.
Hope this helps anyone even with all my rambling here.
cp -a
. This also includes the-r
ecursive flag, but it does more than that—it preserves everything about the file; SELinux attributes, links, xattr, everything. It's "archive mode." There are better tools for making a backup, but if you're usingcp
for a backup, don't use anything other thancp -a
. – Wildcard Oct 14 '15 at 03:54cp -a
doesn't work on some systems: e.g. OS X, where (in some versions at least) one needed to usecp -pR
. On my current OS X system though (10.10.15),cp -a
seems to be honored. – dubiousjim Sep 30 '17 at 16:30diff <(getfacl -R folder1) <(getfacl -R folder2)
i sill seem to get different access control lists :( – philx_x May 29 '19 at 18:20setcap
/getcap
. I recently had a problem whereping
would returnoperation not permitted
. Now I wonder what other binaries are missingsetcap
. – Gizmo Jan 04 '21 at 08:27sudo
is needed to preserve user ownership, unless you're already the root user. See @telCom's comment. – jabbascript Feb 08 '22 at 16:28