Ssh : Drop allow_other for ssh_mount.

This commit is contained in:
Dmitry Voronin 2024-04-17 01:43:03 +03:00
parent 9ed7e01bec
commit de67ac3508
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -3,7 +3,7 @@
# Mount FS over ssh. Just extra config for sshfs.
# Usage: ssh_mount <REMOTE> <LOCAL>
function ssh_mount() {
sshfs -o uid=1000,auto_unmount,allow_other "''${@}"
sshfs -o uid=''${UID},auto_unmount "''${@}"
}
# Mount FS over ssh. Just extra config for sshfs.