diff options
author | Karel Kočí <cynerd@email.cz> | 2021-04-09 10:48:57 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2021-04-09 10:49:25 +0200 |
commit | d9dae64ec926a38b93a11b36af5a828aedb4c189 (patch) | |
tree | 207dab84c19271f864cb42c370d400b1a21d3bf3 | |
parent | 3eae2889cd0c50621b7219dc1c6b79f488b90021 (diff) | |
download | shellrc-a2a07346dbcebdf5ff6d67c1d0d92607c2f22410.tar.gz shellrc-a2a07346dbcebdf5ff6d67c1d0d92607c2f22410.tar.bz2 shellrc-a2a07346dbcebdf5ff6d67c1d0d92607c2f22410.zip |
shellrc.d-desktop/ssh: sshcfs mount with id mapv0.8.1
This fixes access rights on server if user ID is different on client and
target.
-rw-r--r-- | shellrc.d-desktop/ssh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shellrc.d-desktop/ssh b/shellrc.d-desktop/ssh index 3471484..b8cdd4e 100644 --- a/shellrc.d-desktop/ssh +++ b/shellrc.d-desktop/ssh @@ -14,5 +14,5 @@ sshcfs() { tbg dpipe \ /usr/lib64/misc/sftp-server \ = \ - ssh "$@" "$target" sshfs -o slave ":$local_dir" "$remote_dir" + ssh "$@" "$target" sshfs -o idmap=user -o slave ":$local_dir" "$remote_dir" } |