From d9dae64ec926a38b93a11b36af5a828aedb4c189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 9 Apr 2021 10:48:57 +0200 Subject: shellrc.d-desktop/ssh: sshcfs mount with id map This fixes access rights on server if user ID is different on client and target. --- shellrc.d-desktop/ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } -- cgit v1.2.3