run as root

This commit is contained in:
nyxerinys 2026-06-30 10:46:06 -05:00
parent 8e4fc931a2
commit 8856797051
2 changed files with 3 additions and 5 deletions

View file

@ -76,7 +76,7 @@ let
echo "[ Reverse port opened on $PORT ]"
echo "[ Pushing local $LFolder to the remote $RFolder ]"
$SSHCMD null "if [[ ! -d $RFolder ]]; then mkdir -p $RFolder; fi"
$SSHCMD null "sshfs -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p $PORT localhost:$LFolder $RFolder"
$SSHCMD null "sshfs -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p $PORT localhost:$LFolder $RFolder -o uid=1000 -o gid=1000 -o allow_other"
pause