On 4/28/25 21:33, Mark Geisert via Cygwin wrote:
> If the test in the previous paragraph worked, then install WinFSP.
> You will see a button offering to install FUSE for Cygwin or something
> like that.  DO NOT press that button.  I think having pressed that
> last time is the root cause of the issues you've been seeing.  I can
> explain after we get you working.
>
> Just click through the WinFSP install and let it complete.


Run winfsp-2.0.23075.msi. Ctrl+C does not copy contents of app to clipboard (?). I will transcribe manually:

    WinFsp2023 Setup
    Welcome ...
    -> Next

    WinFsp2023 Setup
    Custom Setup ...
    -> Next

    WinFsp2023 Setup
    Ready ...
    -> Install

Pop-up -- User Access Control -> Allow

    WinFsp2023 Setup
    Completed ...
    -> Finish

> Now go back to your Cygwin terminal window and do the test:
>      sshfs -h
> and see that you get a long list of sshfs option descriptions without
> any error messages.


2025-04-29 18:35:49 admin@dq67sw ~
$ sshfs -h | head
WinFsp-FUSE options:
    -o umask=MASK              set file permissions (octal)
    -o FileSecurity=SDDL       set file DACL (SDDL format)
    -o create_umask=MASK       set newly created file permissions (octal)
        -o create_file_umask=MASK      for files only
        -o create_dir_umask=MASK       for directories only
    -o uid=N                   set file owner (-1 for mounting user id)
    -o gid=N                   set file group (-1 for mounting user group)
-o rellinks interpret absolute symlinks as volume relative -o dothidden dot files have the Windows hidden file attrib


> If that worked, then do this before anything else:
>      rm /var/run/fuse.mounts


2025-04-29 18:36:42 admin@dq67sw ~
$ ls /var/run/fuse*
ls: cannot access '/var/run/fuse*': No such file or directory


> Now try the sshfs command you've tried earlier and tell us what
> happens.
>
> ..mark


2025-04-29 19:24:53 admin@dq67sw ~
$ sshfs dpchrist@f5:/var/local/samba/dpchrist /samba/dpchrist

2025-04-29 19:25:22 admin@dq67sw ~
$ cat /var/run/fuse.mounts
# Updated by FUSE apps; stale entries OK; DO NOT EDIT this binary file!
/samba/dpchrist sshfs 2406 //dpchrist@f5//var/local/samba/dpchrist

2025-04-29 19:25:39 admin@dq67sw ~
$ ls -l /samba
total 1
drwxr-xr-x 1 Unknown+User Unknown+Group 0 Apr 29 19:21 dpchrist

2025-04-29 19:29:33 admin@dq67sw ~
$ ls -d /samba/dpchrist/[A-Z]* | head
/samba/dpchrist/David_s_iPhone
/samba/dpchrist/Downloads
/samba/dpchrist/Movies
/samba/dpchrist/Music
/samba/dpchrist/Music-leftovers
/samba/dpchrist/Pictures
/samba/dpchrist/Television
/samba/dpchrist/Videos

2025-04-29 19:26:07 admin@dq67sw ~
$ touch /samba/dpchrist/foo
touch: cannot touch '/samba/dpchrist/foo': Permission denied


So sshfs is connecting, but there are identity issues (UID/GID/SID) (?). I tried a few guesses at options to allow write access, but without success. Suggestions?


David



--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to