Replies: 2 comments
-
The permissions of Probably want something like the following.
Cannot answer how your |
Beta Was this translation helpful? Give feedback.
-
The point of metadata is to not have to set permissions. See below. https://devblogs.microsoft.com/commandline/chmod-chown-wsl-improvements/ |
Beta Was this translation helpful? Give feedback.
-
Environment
Steps to reproduce
Content of /etc/wsl.conf
Trying to ssh
Expected behavior
Following https://superuser.com/questions/1183176/can-i-share-my-ssh-keys-between-wsl-and-windows
$ sudo umount /mnt/d; sudo mount -t drvfs D: /mnt/d -o metadata
Trying to ssh
Actual behavior
See Steps to reproduce
Other
How do I set write permissions for /home/user/.ssh/known_hosts without sudo? As you can see under expected behavior "Failed to add the host to the list of known hosts"
Beta Was this translation helpful? Give feedback.
All reactions