You are not logged in.
Pages: 1
Hello everyone!
I've got a problem on my system trying to setup sshfs. It works on my other machines but for some reason I'm unable to get it working on this one.
I've set up my keys and I can log in through the terminal via ssh schwim@mysite.org without having to enter a password. All is good on that front. However, during my goofing with this not working sshfs, I've managed to corrupt the destination directory:
schwim@schwim-lt-UbOb:~$ cd /home/schwim/Cloud/Fuse/scotchandiron.org
bash: cd: /home/schwim/Cloud/Fuse/scotchandiron.org: Permission denied
schwim@schwim-lt-UbOb:~$ cd /home/schwim/Cloud/Fuse
schwim@schwim-lt-UbOb:~/Cloud/Fuse$ ls -la
ls: cannot access 'scotchandiron.org': Permission denied
total 20
drwxrwxr-x 6 schwim schwim 4096 Sep 21 15:09 .
drwxrwxr-x 6 schwim schwim 4096 Dec 23 2017 ..
drwxrwxr-x 2 schwim schwim 4096 Jun 7 2016 broncoinfo.com
drwxrwxr-x 2 schwim schwim 4096 Apr 22 2015 schw.im
d????????? ? ? ? ? ? scotchandiron.org
drwxrwxr-x 2 schwim schwim 4096 Mar 12 2016 wheeltastic.com
schwim@schwim-lt-UbOb:~/Cloud/Fuse$ chown schwim:schwim scotchandiron.org
chown: cannot access 'scotchandiron.org': Permission denied
schwim@schwim-lt-UbOb:~/Cloud/Fuse$ sudo rm -rf scot*
rm: cannot remove 'scotchandiron.org': Is a directory
schwim@schwim-lt-UbOb:~/Cloud/Fuse$ ls -la
ls: cannot access 'scotchandiron.org': Permission denied
total 20
drwxrwxr-x 6 schwim schwim 4096 Sep 21 15:09 .
drwxrwxr-x 6 schwim schwim 4096 Dec 23 2017 ..
drwxrwxr-x 2 schwim schwim 4096 Jun 7 2016 broncoinfo.com
drwxrwxr-x 2 schwim schwim 4096 Apr 22 2015 schw.im
d????????? ? ? ? ? ? scotchandiron.org
drwxrwxr-x 2 schwim schwim 4096 Mar 12 2016 wheeltastic.com
schwim@schwim-lt-UbOb:~/Cloud/Fuse$ rm -rf scotchandiron.org
rm: cannot remove 'scotchandiron.org': Is a directory
schwim@schwim-lt-UbOb:~/Cloud/Fuse$ sudo rm -rf scotchandiron.org
rm: cannot remove 'scotchandiron.org': Is a directory
schwim@schwim-lt-UbOb:~/Cloud/Fuse$
This is what I'm using to try to connect:
#!/bin/bash
sudo sshfs -o workaround=rename schwim@mysite.org:/var/www/clients/client1/web2/home/schwimsandi /home/schwim/Cloud/Fuse/scotchandiron.org
exit 0
Which now reports:
fuse: bad mount point `/home/schwim/Cloud/Fuse/scotchandiron.org': Transport endpoint is not connected
schwim@schwim-lt-UbOb:~/.scripts$
I can't delete the directory because it tells me it's a directory and all attributes read as a ?
How can I fix this directory so I can work on the rest of the issues with SSHFS?
Schw.im! A social site with an identity crisis.
Offline
try
fusermount -u -z "/home/schwim/Cloud/Fuse/scotchandiron.org"
Offline
Pages: 1