Errors copying files in Bookworm (1of 3)

Moderator: Forum moderators

Post Reply
User avatar
Governor
Posts: 893
Joined: Sat Nov 12, 2022 7:11 pm
Has thanked: 228 times
Been thanked: 46 times

Errors copying files in Bookworm (1of 3)

Post by Governor »

I am trying to copy a directory structure from me internal drive to a USB drive. Both are ext3.
EDIT:
Correction: I just checked and according to pMount, sda is exfat. I don't understand it because I previously reformatted that drive to ext3 expressly to avoid file transfer errors. :?
So might that be the reason?
==============

Why won't these files copy? I tried setting the file permissions to: u+rw, but that did not help.
Any ideas?

Code: Select all

Copying /mnt/nvme0n1p5/Downloads-2023-07/VLC-portable64/vlc/usr/lib/libvlc.so as /mnt/sda1/Downloads-2023-07/VLC-portable64/vlc/usr/lib/libvlc.so
ERROR: Operation not permitted
Copying /mnt/nvme0n1p5/Downloads-2023-07/VLC-portable64/vlc/usr/lib/vlc/libvlc_pulse.so.0 as /mnt/sda1/Downloads-2023-07/VLC-portable64/vlc/usr/lib/vlc/libvlc_pulse.so.0
ERROR: Operation not permitted
Copying /mnt/nvme0n1p5/Downloads-2023-07/VLC-portable64/vlc/usr/lib/vlc/libvlc_xcb_events.so as /mnt/sda1/Downloads-2023-07/VLC-portable64/vlc/usr/lib/vlc/libvlc_xcb_events.so
ERROR: Operation not permitted
Copying /mnt/nvme0n1p5/Downloads-2023-07/VLC-portable64/vlc/usr/lib/vlc/libvlc_pulse.so as /mnt/sda1/Downloads-2023-07/VLC-portable64/vlc/usr/lib/vlc/libvlc_pulse.so
ERROR: Operation not permitted
Copying /mnt/nvme0n1p5/Downloads-2023-07/VLC-portable64/vlc/usr/lib/vlc/libvlc_vdpau.so as /mnt/sda1/Downloads-2023-07/VLC-portable64/vlc/usr/lib/vlc/libvlc_vdpau.so
ERROR: Operation not permitted
Copying /mnt/nvme0n1p5/Downloads-2023-07/VLC-portable64/vlc/usr/lib/vlc/libvlc_xcb_events.so.0 as /mnt/sda1/Downloads-2023-07/VLC-portable64/vlc/usr/lib/vlc/libvlc_xcb_events.so.0
ERROR: Operation not permitted
Copying /mnt/nvme0n1p5/Downloads-2023-07/VLC-portable64/vlc/usr/lib/vlc/libvlc_vdpau.so.0 as /mnt/sda1/Downloads-2023-07/VLC-portable64/vlc/usr/lib/vlc/libvlc_vdpau.so.0
ERROR: Operation not permitted
Copying /mnt/nvme0n1p5/Downloads-2023-07/VLC-portable64/vlc/usr/lib/libvlccore.so as /mnt/sda1/Downloads-2023-07/VLC-portable64/vlc/usr/lib/libvlccore.so
ERROR: Operation not permitted
Copying /mnt/nvme0n1p5/Downloads-2023-07/VLC-portable64/vlc/usr/lib/libvlccore.so.9 as /mnt/sda1/Downloads-2023-07/VLC-portable64/vlc/usr/lib/libvlccore.so.9
ERROR: Operation not permitted
Copying /mnt/nvme0n1p5/Downloads-2023-07/VLC-portable64/vlc/usr/lib/libvlc.so.5 as /mnt/sda1/Downloads-2023-07/VLC-portable64/vlc/usr/lib/libvlc.so.5
ERROR: Operation not permitted

Thanks.

Governor

User avatar
Governor
Posts: 893
Joined: Sat Nov 12, 2022 7:11 pm
Has thanked: 228 times
Been thanked: 46 times

Errors copying files in Bookworm (2 of 3)

Post by Governor »

Why does the OS allow characters in filenames when they are not allowed to be copied?

Code: Select all

Copying /mnt/nvme0n1p5/Downloads-2023-07/Images/Who is the Fed?.jpeg as /mnt/sda1/Downloads-2023-07/Images/Who is the Fed?.jpeg
cp: cannot create regular file '/mnt/sda1/Downloads-2023-07/Images/Who is the Fed?.jpeg': Invalid argument
Failed to copy '/mnt/nvme0n1p5/Downloads-2023-07/Images/Who is the Fed?.jpeg'

Thanks.

Governor

User avatar
Governor
Posts: 893
Joined: Sat Nov 12, 2022 7:11 pm
Has thanked: 228 times
Been thanked: 46 times

Errors copying files in Bookworm (3 of 3)

Post by Governor »

I tried copying these 2 files:
Cat sleeping on sleeping dog.png
cat sleeping on sleeping dog.png

EDIT:
I just checked and according to pMount, sda is exfat. I don't understand it because I previously reformatted that drive to ext3 expressly to avoid file transfer errors. :?
So might that be the reason?

==============
First, I got an error message. I tried again and only one file was copied.
Why does the OS allow filenames with small and capital letters, when they cannot be copied?

If I want to copy a directory structure from one place to another, I need to know that the process is reliable. I do not want to have to go in after the operation and make corrections.

Any fixes?
Thanks.

Governor

User avatar
fredx181
Posts: 3111
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 378 times
Been thanked: 1329 times
Contact:

Re: Errors copying files in Bookworm (2 of 3)

Post by fredx181 »

Governor wrote: Sat Oct 26, 2024 10:30 am

Why does the OS allow characters in filenames when they are not allowed to be copied?

Code: Select all

Copying /mnt/nvme0n1p5/Downloads-2023-07/Images/Who is the Fed?.jpeg as /mnt/sda1/Downloads-2023-07/Images/Who is the Fed?.jpeg
cp: cannot create regular file '/mnt/sda1/Downloads-2023-07/Images/Who is the Fed?.jpeg': Invalid argument
Failed to copy '/mnt/nvme0n1p5/Downloads-2023-07/Images/Who is the Fed?.jpeg'

Thanks.

Perhaps copying fails because your /mnt/sda1 contains a FAT or NTFS filesystem ?

User avatar
Governor
Posts: 893
Joined: Sat Nov 12, 2022 7:11 pm
Has thanked: 228 times
Been thanked: 46 times

Re: Errors copying files in Bookworm (2 of 3)

Post by Governor »

fredx181 wrote: Sat Oct 26, 2024 10:41 am
Governor wrote: Sat Oct 26, 2024 10:30 am

Why does the OS allow characters in filenames when they are not allowed to be copied?

Code: Select all

Copying /mnt/nvme0n1p5/Downloads-2023-07/Images/Who is the Fed?.jpeg as /mnt/sda1/Downloads-2023-07/Images/Who is the Fed?.jpeg
cp: cannot create regular file '/mnt/sda1/Downloads-2023-07/Images/Who is the Fed?.jpeg': Invalid argument
Failed to copy '/mnt/nvme0n1p5/Downloads-2023-07/Images/Who is the Fed?.jpeg'

Thanks.

Perhaps copying fails because your /mnt/sda1 contains a FAT or NTFS filesystem ?

I thought both partitions are ext3. But I just checked and sda is exfat (according to pMount). I don't understand it because I previously reformatted that drive to ext3 expressly to avoid file transfer errors. :?
Could that be it?
Thanks.

Governor

User avatar
Governor
Posts: 893
Joined: Sat Nov 12, 2022 7:11 pm
Has thanked: 228 times
Been thanked: 46 times

Re: Errors copying files in Bookworm (2 of 3)

Post by Governor »

I just did another copy operation and got this:

Code: Select all

Done
There was one error.

But it does not tell me what the error is. :?
How can I find out if there really was an error and what it might be?
Thanks.

Governor

User avatar
MochiMoppel
Posts: 1243
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 444 times

Re: Errors copying files in Bookworm (3 of 3)

Post by MochiMoppel »

Governor wrote: Sat Oct 26, 2024 10:34 am

Why does the OS allow filenames with small and capital letters, when they cannot be copied?

Because the exFAT file system, just like FAT32, is "case insensitive and case preserving". You may have a file dog.png or Dog.png in an exFAT directory, but not both. The OS can't distinguish them.

User avatar
Governor
Posts: 893
Joined: Sat Nov 12, 2022 7:11 pm
Has thanked: 228 times
Been thanked: 46 times

Re: Errors copying files in Bookworm (3 of 3)

Post by Governor »

MochiMoppel wrote: Sat Oct 26, 2024 11:37 am
Governor wrote: Sat Oct 26, 2024 10:34 am

Why does the OS allow filenames with small and capital letters, when they cannot be copied?

Because the exFAT file system, just like FAT32, is "case insensitive and case preserving". You may have a file dog.png or Dog.png in an exFAT directory, but not both. The OS can't distinguish them.

Thank you.

Governor

User avatar
fredx181
Posts: 3111
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 378 times
Been thanked: 1329 times
Contact:

Re: Errors copying files in Bookworm (1of 3)

Post by fredx181 »

Governor wrote: Sat Oct 26, 2024 10:27 am

I am trying to copy a directory structure from me internal drive to a USB drive. Both are ext3.
EDIT:
Correction: I just checked and according to pMount, sda is exfat. I don't understand it because I previously reformatted that drive to ext3 expressly to avoid file transfer errors. :?
So might that be the reason?
==============

Why won't these files copy? I tried setting the file permissions to: u+rw, but that did not help.
Any ideas?

Code: Select all

Copying /mnt/nvme0n1p5/Downloads-2023-07/VLC-portable64/vlc/usr/lib/libvlc.so as /mnt/sda1/Downloads-2023-07/VLC-portable64/vlc/usr/lib/libvlc.so
ERROR: Operation not permitted
..

Thanks.

Probably because these files are symlinks. (not allowed on FAT or exFAT).

User avatar
bigpup
Moderator
Posts: 7031
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 925 times
Been thanked: 1535 times

Re: Errors copying files in Bookworm (1of 3)

Post by bigpup »

I just checked and according to pMount, sda is exfat. I don't understand it because I previously reformatted that drive to ext3 expressly to avoid file transfer errors. :?

I am going to guess you installed Bookworm to the USB using a installer program that changed it to exfat format.

Should try and use installer programs that are provided in Puppy versions, to do installs to USB drives.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
Governor
Posts: 893
Joined: Sat Nov 12, 2022 7:11 pm
Has thanked: 228 times
Been thanked: 46 times

Re: Errors copying files in Bookworm (1of 3)

Post by Governor »

bigpup wrote: Sun Oct 27, 2024 2:22 am

I just checked and according to pMount, sda is exfat. I don't understand it because I previously reformatted that drive to ext3 expressly to avoid file transfer errors. :?

I am going to guess you installed Bookworm to the USB using a installer program that changed it to exfat format.

Should try and use installer programs that are provided in Puppy versions, to do installs to USB drives.

I was copying folders from an ext3 partition to a USB drive which I thought was ext3, but apparently it is exfat.
I was told here in the forum that no matter which OS is used, the files remain the same, so files may be copied from one file system to another.

I used e3StickPup and installed bookworm on an internal ext3 nvme drive. If I remember correctly, I also used Grub2Config to create the bootloader.
Did I do something wrong?

Governor

User avatar
bigpup
Moderator
Posts: 7031
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 925 times
Been thanked: 1535 times

Re: Errors copying files in Bookworm (1of 3)

Post by bigpup »

I used e3StickPup and installed bookworm on an internal ext3 nvme drive. If I remember correctly, I also used Grub2Config to create the bootloader.
Did I do something wrong?

e3stickPup is an installer for installing Puppy to a USB stick drive.
Not for doing installs to internal drives.

From the help that is in Frugalpup installer (e3stickpup is one of the installer optional programs in it)

e3StickPup
Formats and installs a single Puppy to a usb stick, in a small "fat32" partition and a large Linux "ext3" partition.

The ext3 formatted partition is the partition for storing the save on the USB stick.
It can be a save folder.

The Frugalpup installer main program is for doing installs to internal drives.
It does not do any formatting of partitions.
You have to do the drive partition and formatting before using it.

How you got the internal drive as exfat format.
Maybe it was already exfat format, the e3stickPup got confused by fat in the format type, and did not do any formatting.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
Governor
Posts: 893
Joined: Sat Nov 12, 2022 7:11 pm
Has thanked: 228 times
Been thanked: 46 times

Re: Errors copying files in Bookworm (1of 3)

Post by Governor »

bigpup wrote: Sun Oct 27, 2024 12:58 pm

I used e3StickPup and installed bookworm on an internal ext3 nvme drive. If I remember correctly, I also used Grub2Config to create the bootloader.
Did I do something wrong?

e3stickPup is an installer for installing Puppy to a USB stick drive.
Not for doing installs to internal drives.

From the help that is in Frugalpup installer (e3stickpup is one of the installer optional programs in it)

e3StickPup
Formats and installs a single Puppy to a usb stick, in a small "fat32" partition and a large Linux "ext3" partition.

The ext3 formatted partition is the partition for storing the save on the USB stick.
It can be a save folder.

The Frugalpup installer main program is for doing installs to internal drives.
It does not do any formatting of partitions.
You have to do the drive partition and formatting before using it.

How you got the internal drive as exfat format.
Maybe it was already exfat format, the e3stickPup got confused by fat in the format type, and did not do any formatting.

Well, I am confused. :?
My internal drive is nvme and all partitions on it are ext3. My external USB hdd is exfat, which I can't understand because I had formatted it to ext3, but I guess it didn't take.

I have struggled, struggled and struggled. I have made countless formats, installs and re-installs, and I am not keeping records of all this.
I now believe I installed fossapup and bookworm with the default installation method on my internal drive, but they wouldn't boot, so I used grub2config to create the boot menu. I posted a screenshot of my boot menu once, and someone said they did not recognize it.
I am sure I used e3stickpup on my thumb drives, and may have used grub2config on them too, I don't recall. I have been booting for months from my internal drive, and I don't remember how the boot menu looks on the thumb drives.

In this forum I often get conflicting advice, or opposing views.
For example:
One person says puppy is considered safe, another says not. So which is it? There is no major consensus. All the other distros I looked at advise not to run as root admin while connecting to the internet. :? IDK.

Some people say to use ext4, others say ext3 because ext4 may have issues.

I was concerned about transferring files from a Linux partition to a Windows type partition and being able to use the files in Windows. Someone told me that files can be transferred from a Linux partition to other partition types without problem... but caveats in regard to file naming conventions were not mentioned. Symlinks also seem to give problems in this regard; can symlinks be avoided?

There seems to be a lack of major consensus in this forum on how to do things and that makes everything very difficult for anyone in this forum new to the Operating Systems.

Governor

d-pupp
Posts: 348
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 201 times
Been thanked: 56 times

Re: Errors copying files in Bookworm (1of 3)

Post by d-pupp »

There seems to be a lack of major consensus in this forum on how to do things and that makes everything very difficult for anyone in this forum new to the Operating Systems.

Welcome to Linux.
Windows is closed source. There is only one way to do things. The way Microsoft decided it should be done.
With Linux there are many ways to do everything and just as many opinions as to how it should be done.
Some people embrace the old ways and some people embrace the new. Most are somewhere in between I suspect.

My advice is decide what you want from Puppy (Linux) and go with that. You can always change your mind.
IE if security is important for online banking follow that road and run Internet facing apps as spot on a dedicated version of Puppy that isn't used for anything else. If all you want to do is play with Linux and install apps follow that road.

User avatar
fredx181
Posts: 3111
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 378 times
Been thanked: 1329 times
Contact:

Re: Errors copying files in Bookworm (1of 3)

Post by fredx181 »

Governor wrote: Sun Oct 27, 2024 3:14 pm

...
In this forum I often get conflicting advice, or opposing views.
For example:
One person says puppy is considered safe, another says not. So which is it? There is no major consensus. All the other distros I looked at advise not to run as root admin while connecting to the internet. :? IDK.

Some people say to use ext4, others say ext3 because ext4 may have issues.
...

I'd say, don't count too much on what people say (no major consensus, yes of course not, that's how life is in general ;) ), it is often just an opinion, better research things yourself and follow your own rules.

User avatar
rockedge
Site Admin
Posts: 6571
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2779 times
Been thanked: 2650 times
Contact:

Re: Errors copying files in Bookworm (1of 3)

Post by rockedge »

I've basically run as the root user for all of my desktop computer career. So far never had a single problem with security since I tend to know what is risky behavior and I don't have a single machine that uses the same operating system more than a few days.

Plus I have zero important information stored on any of them. And capturing one of my machines to add to a Bot farm is close to impossible since I trash operating systems and switch them up so often since I work on making them there is no foot hold or protrusion to hang on too.

I guess looking at the systems at such a low level leaves little room. If the "hackers" are going to steal my info they're going to do it by stealing databases of insurance companies, government institutions, school records, credit reporting companies.......my home computers have half written code and weird music on them.

Wish they would steal my music.....get it out there...... :thumbup2:

williwaw
Posts: 1973
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 372 times

Re: Errors copying files in Bookworm (1of 3)

Post by williwaw »

Governor wrote: Sun Oct 27, 2024 3:14 pm

Well, I am confused. :?
My internal drive is nvme and all partitions on it are ext3. My external USB hdd is exfat, which I can't understand because I had formatted it to ext3, but I guess it didn't take.

I have struggled, struggled and struggled. I have made countless formats, installs and re-installs, and I am not keeping records of all this.
I now believe I installed fossapup and bookworm with the default installation method on my internal drive, but they wouldn't boot, so I used grub2config to create the boot menu. I posted a screenshot of my boot menu once, and someone said they did not recognize it.
I am sure I used e3stickpup on my thumb drives, and may have used grub2config on them too, I don't recall. I have been booting for months from my internal drive, and I don't remember how the boot menu looks on the thumb drives.

If your nvme still boots, you havent done anything wrong, perhaps unorthodox, but not wrong if it works. Unplug all external drives and remove any cds and see.
If a partition has changed its format, make sure you are certian of which discs are booting when, and be sure to double check any targets if running gparted or any boot loader installer.

Post Reply

Return to “BookwormPup”