sshfs-win icon indicating copy to clipboard operation
sshfs-win copied to clipboard

New Release request using sshfs-3.7.3 - Addresses "Permission denied" for cloning Git Repos

Open mattie47 opened this issue 1 year ago • 2 comments

Hi @billziss-gh,

Is there any chance you could look at doing a newer release with the changes done under SSHFS 3.7.3?

I realise the sshfs-3.7.3 is still yet a couple years old, however it includes a couple useful fixes which I've confirmed addresses issues I've spent about 3 hours troubleshooting today 😅.

Specifically, 3.7.2 contains:

Added a secondary check so if a mkdir request fails with EPERM an access request will be retried

If anyone uses git to initialize or clone a repo on to a mounted SSHFS file system, you get

Y:/winfsp/.git/: Permission denied

I came across the root cause to this after reading:

  • https://github.com/winfsp/sshfs-win/issues/53#issuecomment-761687662
  • https://github.com/libfuse/sshfs/issues/243

sshfs-3.7.3 addresses this problem.

This may potentially address https://github.com/winfsp/winfsp/issues/140

There's a compiled release here which I've tried, and confirmed working, although I do seem to be having funky behaviour with sshfs-win Manager where the command is now running inside a separate terminal window.

Thanks, Matt

mattie47 avatar Jul 09 '24 04:07 mattie47

I'll second this - not just git, but a lot of NPM-based tools have the same issues that 3.7.3 would solve. This release would be super helpful to me.

micahlt avatar Sep 09 '24 19:09 micahlt

Bump, we really need this, it's annoying for me personally because i do a silly and test in production >:(
much faster and easier for me if the git repo is already on the server i'm running my stuff in, especially since I do nothing too serious

Ascellayn avatar Feb 24 '25 13:02 Ascellayn