appleboy / drone-scp

Copy files and artifacts via SSH using a binary, docker or Drone CI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add sudo privileges

andruwa13 opened this issue · comments

execute the command using sudo

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.

use sudo is not safe!