this post was submitted on 01 Sep 2024
18 points (95.0% liked)

techsupport

2447 readers
16 users here now

The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.

If something works or if you find a solution to your problem let us know it will be greatly apreciated.

Rules: instance rules + stay on topic

Partnered communities:

You Should Know

Reddit

Software gore

Recommendations

founded 1 year ago
MODERATORS
 

Ok I was copying a bunch of games from one of my Windows drives over to my phone while booted into Linux. And I got this error that says "libmtp error: Could not open source file". Thankfully I was able to copy the files when I was booted into Windows but it would be nice if I could Transfer files from my Windows drives without having to reboot into Windows. Is there a way I can fix this problem.

I think it might have to do with the ntfs file system because I copied one of the files from the phone back to my Desktop which is ext4 and then back to the phone without any issues. I already tried installing ntfs-3g which was already installed on my distro.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 2 months ago (1 children)

How are you mounting your NTFS disk? If you're using the mount cli as root you may need to add the uid mount option

[–] [email protected] 2 points 2 months ago (1 children)
[–] [email protected] 3 points 2 months ago (1 children)

Ah definitely add some mount options to give yourself access, uid and gid would be a good place to start, I think there may be others.

Some info https://askubuntu.com/questions/113733/how-to-mount-a-ntfs-partition-in-etc-fstab

[–] [email protected] 4 points 2 months ago* (last edited 2 months ago) (1 children)

Thanks for linking me to the to this page. I did some more diging and I managed to figure out the actual problem. I was using a program called CompactGUI2 which allows you to use the NTFS file comprssion to save space. The minute I uncompressed the files from the Windows side I saw the Lock icons go away when I booted back into Linux.

[–] [email protected] 1 points 2 months ago

Cool! That's new to me, thanks for sharing your solution!