12-11-2020, 02:33 PM
(This post was last modified: 12-11-2020, 02:46 PM by DarkManiels.)
(12-11-2020, 12:25 PM)kop316 Wrote: How are you trying to transfer them? I have beeen successful with SSH and USB-MTP
SSH works fine, since as @cybercow suggested the SSH server takes care of it. What I'm having a problem with is direct USB connection from my computer (running PopOS 20.10) to the phone. Not sure if it's technically using MTP or some other protocol.
(12-11-2020, 12:53 PM)cybercow Wrote: A possible solution would be to set your username on mobian to the same as on your computer.
I haven't tried that so I do not know what you would have to do so that phosh is ok with it.
A workaround would be to make a "mobian" user on your workstation and change the owner on your workstation.
The most clean way would possibly be to let the Bluetooth or USB file sharing daemon do that.
Unluckily I am not involved enough to know how to do that.
Sorry if that isn't helpful.
Another workaround would be to set the permission of "others" to what you need it to be.
(12-11-2020, 12:25 PM)kop316 Wrote: How are you trying to transfer them? I have beeen successful with SSH and USB-MTPThe thing with ssh is that there the ssh server takes care of the problem.
With USB-MTP I think you mean using a usb stick which most likely is formated NTFS or fat.
This would mean that the "owner" and the permission are getting lost since this are features of the filesystem, which NTFS and fat does not support and
aren't part of the file itself.
Thanks for the tips @cybercow . It would be nice if the USB file sharing daemon just handled this for me, but it doesn't, and I don't even know where I'd look to change its "settings," if that's possible.
Ultimately it's no real biggie, though. I just realized I can use chown recursively, so if I copy a bunch of files I can just quickly set the ownership of the whole folder and all the files to mobian, then go my merry way without too much trouble.