Skip to content

Depending on my local Windows user account, drives are mounted read-only #168

@daladim

Description

@daladim

Hi,
Thanks for your great work.

I have read-only issues, something similar to what I read in #7.
It turns out that, if I connect a network drive (through the Explorer UI) from my usual account (XPS\Jérôme), my drive is read-only.
If I connect from another account (XPS\sshuser), my drive is perfectly read-write enabled.
Would there be a bug when the local Windows username has diacritics, or non-ASCII characters?

Here is a bit of details. Coming from the Linux world, I am afraid these will not be very precise and/or informative. I am still learning the Windows internals :D

  • My two accounts are "local", i.e. they are not mapped to a Microsoft account and e-mail address.
    • XPS\Jérôme is an "Administrator" account
    • XPS\sshuser is not an "Administrator" account
  • I have Windows 10 (build 1909)
  • I always mount drives via the Explorer GUI (This PC > Map Network Drive). I type \\sshfs\[email protected] (jeromebeing, of course, my remote Linux username)
  • When mounted from XPS\Jérôme, I can successfully read the files, but not write them. I think that my files are owned by SYSTEM (since trying to delete one, makes a "you need a permission form system" dialog appear (I tried to translate it from French, the actual English phrase may be different)). Feel free to provide a more accurate way of knowing, I'd be happy to learn one.
  • When mounted from XPS\sshuser, I can read/write/create/delete as expected.
  • When mounted from XPS\sshuser, then changed Windows user to XPS\Jérôme (without logging out from sshuser), I still can see the drive, as read-only. Trying to delete a file make a "you need a permission from sshuser" dialog appear.
  • The task manager is not very informative, the command line shows ssh.exe, sshfs.exe, and sshfs-win.exe have not been invoked with specific arguments explicitely related to my Windows usernames (other than \sshfs\[email protected])

Do you have any idea?
As I am new to Windows, I am afraid it will be hard for me to make a merge request...but if you give me specific directions, I can try!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions