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

Explorer unable to access SSHFS mounted directory #8498

Closed
1 of 2 tasks
paulmenzel opened this issue Jun 10, 2022 · 2 comments
Closed
1 of 2 tasks

Explorer unable to access SSHFS mounted directory #8498

paulmenzel opened this issue Jun 10, 2022 · 2 comments

Comments

@paulmenzel
Copy link

Version

Microsoft Windows [Version 10.0.19044.1706]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

(default)

Distro Version

(default)

Other Software

No response

Repro Steps

Follow Access Linux filesystems in Windows and WSL 2 and mount remote directory over SSHFS:

$ id -u
1000
$ sshfs -⁠o idmap=user example.net:/⁠project/X ~/mnt -o uid=1000

ls -l shows the users to be mapped to the user with id 1000. Reading files inside the mount directory works.

Expected Behavior

The Microsoft Windows Explorer should be able to access the mounted directory.

Actual Behavior

The Microsoft Windows Explorer is unable to access the mounted directory.

Diagnostic Logs

No response

@elsaco
Copy link

elsaco commented Jun 11, 2022

@paulmenzel edit /etc/fuse.conf and add user_allow_other. Most likely the setting is there already, just uncomment it. This will allow the remote file system to show inside Windows file explorer.

This is the command I use to mount remotes from DO droplets:

sshfs -o allow_other,default_permissions [email protected]:/home/elsaco/droplet ~/droplet

I'm using Windows 10, but it should work on Windows 11 also.

@ghost ghost closed this as completed Jun 21, 2022
@ghost
Copy link

ghost commented Jun 21, 2022

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!

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

No branches or pull requests

2 participants