From 41256e1f70d42b062c07b102afee568e3a5b4227 Mon Sep 17 00:00:00 2001 From: Bugagazavr Date: Thu, 21 Jul 2016 22:18:39 +0300 Subject: [PATCH] Correct chmod for netrc file --- yaml/transform/command.go | 1 + 1 file changed, 1 insertion(+) diff --git a/yaml/transform/command.go b/yaml/transform/command.go index fc9ce0208..cf4892f01 100644 --- a/yaml/transform/command.go +++ b/yaml/transform/command.go @@ -65,6 +65,7 @@ machine $DRONE_NETRC_MACHINE login $DRONE_NETRC_USERNAME password $DRONE_NETRC_PASSWORD EOF +chmod 0600 $HOME/.netrc fi unset DRONE_NETRC_USERNAME