aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-04-09 10:48:57 +0200
committerKarel Kočí <cynerd@email.cz>2021-04-09 10:49:25 +0200
commitd9dae64ec926a38b93a11b36af5a828aedb4c189 (patch)
tree207dab84c19271f864cb42c370d400b1a21d3bf3
parent3eae2889cd0c50621b7219dc1c6b79f488b90021 (diff)
downloadshellrc-0.8.1.tar.gz
shellrc-0.8.1.tar.bz2
shellrc-0.8.1.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/ssh2
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"
}