sshfs and permissions

Doug Stewart doug.dastew at gmail.com
Tue Mar 10 13:23:03 UTC 2015


Hi.
  I have a raspberry pi B+ and I am learning about ssh etc.
My desktop is Ubuntu 14.04
The PI's os  is Raspbian


 The commands that I did on my desktop are:

 sudo apt-get install sshfs
 sudo mkdir -p /mnt/sshfs
 sudo  sshfs pi at 192.168.1.114:/ /mnt/sshfs
 sudo nautilus

This allows me to see all the files on the pi from my desktop, using
nautilus.
But when I try to copy a file from the pi to my desktop it says

Error while copying file
permission denied


I am sudo on my machine but just logged in as user pi and password
raspberry  ( the default)

My question is:
What should I do to be able to copy files from and to the raspberry pi
using this kind of setup?

Should I make a new user on the pi with the same name and password that I
use on my desktop?
or
Is there a way to be sudo on the pi also?

Doug Stewart

-- 
DAS[image: Certificate for 206392]

<https://linuxcounter.net/user/206392.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20150310/efd24236/attachment.html>


More information about the ubuntu-ca mailing list