USB file transfer question
#4
(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-MTP
The 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.


Messages In This Thread
USB file transfer question - by DarkManiels - 12-11-2020, 11:21 AM
RE: USB file transfer question - by kop316 - 12-11-2020, 12:25 PM
RE: USB file transfer question - by DarkManiels - 12-11-2020, 02:33 PM
RE: USB file transfer question - by cybercow - 12-11-2020, 12:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Lock screen question: always squeekboard tuxcall 1 1,225 02-02-2023, 08:51 PM
Last Post: Haibara23
  low disk space on file system root revisited benedikt55 2 1,487 09-24-2022, 10:16 AM
Last Post: benedikt55
  This Qutebrowser config file made browsing on the PinePhone great again ryo 0 1,220 01-05-2022, 05:49 PM
Last Post: ryo
  can't get file transfer working. Help, please! quixote 26 18,714 11-14-2021, 10:50 PM
Last Post: quixote
  File Transfer With Bluetooth food 0 1,057 10-29-2021, 11:00 AM
Last Post: food
  Installing Mobian --> "Resizing file system" forever Anna 13 12,857 09-09-2021, 04:26 AM
Last Post: spaetz
  Replace Potrtfolio with another file manager? nelstomlinson 1 1,723 09-03-2021, 08:08 AM
Last Post: arno_nuehm
  Change default program for a file type 3x5co 1 1,756 09-01-2021, 05:26 PM
Last Post: Zebulon Walton
  File transfer from Linux Desktop and PinePhone livanti21 18 26,593 03-09-2021, 08:15 PM
Last Post: MtnSk8
  no "release file"? HLing 4 6,089 10-29-2020, 04:22 PM
Last Post: HLing

Forum Jump:


Users browsing this thread: 1 Guest(s)