[PLUG-TALK] Android filesystem / permissions / ownership

Tomas Kuchta tomas.kuchta.lists at gmail.com
Sat Jun 5 02:30:50 UTC 2021


So, it seems to be working. Except for the file names.

I do not think I can be of any further help to you remotely, beside this
advice: spaces in the file names are not a good idea.

That is most likely your problem + some fat file naming rules.

I do not use gui for much else than to start/use shell. So, you are the
best expert ...

Good luck,
-T

On Fri, Jun 4, 2021, 22:11 John Jason Jordan <johnxj at gmx.com> wrote:

> On Fri, 04 Jun 2021 21:44:44 -0400
> TomasK <tomas.kuchta.lists at gmail.com> dijo:
>
> >1. You do not need to umount on Adgoid - unless you mounted it.
> >2. just create a directory, copy a few files to it and try if you can
> >access it on the phone.
> >3. finish the whole file dorde.
>
> OK, I tried that. In the laptop the folder Android appears in the root
> of the partition, and I decided to leave it alone and just create
> another root folder 'MP3s.'
>
> Then I tried to copy my MP3 files to it, and it failed. I started by
> selecting 209 of them from the laptop's folder, and dragged them to
> another GUI file manager window displaying the new MP3s folder. It
> copied 35 of the 209.
>
> Now this is exactly the problem I had when I was using the new drive
> straight from the manufacturer (SanDisk), formatted as NTFS. After
> fiddling with it for a while I just said, 'screw it,' deleted the NTFS
> partition, replaced it with ext4, mounted it, used chown on it, and
> then all my MP3s copied to it perfectly without fail.
>
> Checking the new Android partition on the drive, apparently it is Win95
> exFAT, a Microsoft patent which was released so that others can use it.
> Evidently it is supported in Linux with the 5.4 kernel (I have
> 5.4.0-72).
>
> I also tried copying the 209 files and pasting them into the USB drive,
> but I got the same errors. Just for kicks I took ownership with chown
> -R of the entire partition, but it didn't make any difference
>
> I did not try the command line, mostly because I'd have to use
> wildcards, and every time I've tried wildcards I have ended up with a
> mess. Plus all the file names have multiple spaces in them.
>
> I don't understand why my laptop is happy to mount the exFAT partition,
> and will copy some files to it, but not others. I looked at the files
> to see if there was something obviously different about the ones that
> won't copy, but I can't see anything. If something works it should work
> all the way or not at all.
> _______________________________________________
> PLUG: https://pdxlinux.org
> PLUG-talk mailing list
> PLUG-talk at pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug-talk
>



More information about the PLUG-talk mailing list