You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.
I just found out about this great plugin! It really seems to offer exactly what I need. I just ran into a small issue. For reasons I won't explain here, the container that I use has to be run by a non-root user. From that user, I cannot access the mount: if I try to cd or access anything in it, I get an error: bash: cd: <path_name>: Permission denied. When I switch to root (sudo -s), I can cd into it and everything works fine.
Would there be a way in which I can fix this? I would't mind patching the plugin for my own usecase, if you can point me the right direction...
By the way, I tried sudo chown -R <user>:<user> <path_name> and sudo chown <user>:<user> <path_name>, but both don't work...
The text was updated successfully, but these errors were encountered:
It turns out that you need to use the -o allow_other option of sshfs. I also figured out more or less how I could add this to the plugin by patching main.go. For now, there is even a quick and dirty fix to get it working using the current version of the plugin:
Dear @vieux,
I just found out about this great plugin! It really seems to offer exactly what I need. I just ran into a small issue. For reasons I won't explain here, the container that I use has to be run by a non-root user. From that user, I cannot access the mount: if I try to
cd
or access anything in it, I get an error:bash: cd: <path_name>: Permission denied
. When I switch to root (sudo -s
), I can cd into it and everything works fine.Would there be a way in which I can fix this? I would't mind patching the plugin for my own usecase, if you can point me the right direction...
By the way, I tried
sudo chown -R <user>:<user> <path_name>
andsudo chown <user>:<user> <path_name>
, but both don't work...The text was updated successfully, but these errors were encountered: