05-18-2021, 07:55 AM
Koikilensoi Wrote:So... I was working great... until I decided to have fun installing the latest postmarketOS version...
Now I can mount the directory, but I cannot copy file or even unmount :
fusermount -u /tmp/mnt returns
fusermount: entry for /tmp/mnt not found in /etc/mtab
Trying to unmount on the PC says : Operation not permitted
Note that :
sshfs pinephone@ip:/home/user /tmp/mnt returns
read: Connection reset by peer
sudo sshfs pinephone@ip:/home/user /tmp/mnt makes mnt in /temp an unknown type file
sudo sshfs -o allow_other pinephone@ip:/home/user /tmp/mnt do the job and I can explore the phone's content, but not copy to nor unmount...
I guess i'm missing something about permissions here...
I have not tried postmarketOS so am not familiar with any issues that may have. I think the first thing to do is to back up a bit and make sure you can ssh into your Pinephone. If ssh doesn't work then there's an issue with that which must be resolved before sshfs will work. Once you have ssh working properly you can work with sshfs.
On the PC/laptop side you should not be usining sudo to run sshfs, it is not needed if you have read/write access to the mount point. You would have the proper permissions if you "mkdir /tmp/mnt" from a non-root command shell, or create it using a file manager running in your account. Make sure the account you're logging into on the Pinephone side has permission to access what you need on the phone.