Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot delete empty directory #35

Open
sporring opened this issue Mar 6, 2017 · 1 comment
Open

Cannot delete empty directory #35

sporring opened this issue Mar 6, 2017 · 1 comment

Comments

@sporring
Copy link

sporring commented Mar 6, 2017

Hi,

I've mounted a linux partition using sshfs using the terminal as:

sshfs -o follow_symlinks myname@myserver: mydir -o volname=mydir

There I have an empty directory, which I've just created, but now cannot delete:

$ ls -la 3dvesicleSnakes/
total 4096
drwx------  1 282223126  staff  46 Mar  6 14:31 .
drwx------  1 282223126  staff  33 Mar  6 14:31 ..
$ rm -rf 3dvesicleSnakes 
rm: 3dvesicleSnakes: Directory not empty

I'm running macOS 10.12.3, and

$ sshfs --version
SSHFS version 2.8
OSXFUSE 3.5.5
FUSE library version: 2.9.7
fuse: no mount point

If I log onto myserver, there I'm able to delete the directory. Any ideas?

Thanks, Jon

@shyam334
Copy link

shyam334 commented Jul 26, 2018

Apologies if I'm bumping a ghost issue.

I had the same kind of problem until I removed follow_symlinks option.
I didn't get a chance to dig what is going wrong, but I suspect if there is a broken or 'unresolvable' symlink, it doesn't show up in the mount and it somehow breaks the operation. (Although tab complete suggests the files that aren't displayed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants