MacOS – Fix “Permission Denied” when copying files

macospartitionpermissionusb

Whenever I try to copy all the content of a usb to my Mac partition it says Permission Denied

The command I am using is

cp -R /dev/disk1 /dev/disk0s3

My error message is:

/dev/disk0s3: permission denied.

I have tried to set myself to super and still didn't work, as well I have all write/read permissions on the hard drive.

Is there a way I can buffer the copy by coping all the files to a folder then partition. I need all the contents of the usb to be copied and I believe there are hidden files and partitions on the usb that need to be copied. (is it a recovery usb I want to put on the recovery partition i created and no i cannot just create one, this recovery contents important files of mine)

Best Answer

You can't use filesystem commands (cp, mv, ls, etc.) on devices (/dev/*).

If you want to copy everything, bit-for-bit, from volume to volume, you'll need an app like Super Duper or Carbon Copy Cloner.