appleboy / drone-scp

Copy files and artifacts via SSH using a binary, docker or Drone CI.
MIT License
142 stars 30 forks source link

add sudo privileges #79

Closed andruwa13 closed 5 years ago

andruwa13 commented 6 years ago

execute the command using sudo

zdk123 commented 5 years ago

I had intended to launch a similar issue, but (from within docker or drone) specifying the user as 'root' seems to take care of file permissions issues at the target directory.

lddsb commented 5 years ago

use sudo is not safe!