Creating a USB Porteus drive cp problem
Posted: 06 Aug 2022, 04:41
I execute a script to copy as root all ISO files to the USB drive and I get:
for each of the ISO files. How do I preserve ownership?
Doing this script in 4.0 worked.
The copy is a simple:
where $LOOP is LOOP=isoloop and $USB is USB='/mnt/sda1'.
Code: Select all
cp: failed to preserve ownership for '/mnt/sda1/EFI/boot/bootx64.efi': Operation not permitted
cp: failed to preserve ownership for '/mnt/sda1/EFI/boot/chain.c32': Operation not permitted
cp: failed to preserve ownership for '/mnt/sda1/EFI/boot/ldlinux.e64': Operation not permitted
Doing this script in 4.0 worked.
The copy is a simple:
Code: Select all
cp -a /mnt/$LOOP/* $USB/