run as root
This commit is contained in:
parent
8e4fc931a2
commit
8856797051
2 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue