Fix ownership on /usr/local/bin/etcd* files

Not doing so leaves the ownership of the etcd binaries to the GCP user:

```
patrick@controller-1:~$ sudo mv etcd-v3.3.9-linux-amd64/etcd* /usr/local/bin/
patrick@controller-1:~$ ll /usr/local/bin/
total 33940
drwxr-xr-x  2 root    root        4096 Aug  8 17:25 ./
drwxr-xr-x 10 root    root        4096 Aug  6 20:34 ../
-rwxr-xr-x  1 patrick patrick 18934016 Jul 24 17:13 etcd*
-rwxr-xr-x  1 patrick patrick 15809280 Jul 24 17:13 etcdctl*
```
pull/378/head
Patrick Decat 2018-08-08 19:28:53 +02:00 committed by GitHub
parent b974042d95
commit 93b4b32832
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ Extract and install the `etcd` server and the `etcdctl` command line utility:
{ {
tar -xvf etcd-v3.3.5-linux-amd64.tar.gz tar -xvf etcd-v3.3.5-linux-amd64.tar.gz
sudo mv etcd-v3.3.5-linux-amd64/etcd* /usr/local/bin/ sudo mv etcd-v3.3.5-linux-amd64/etcd* /usr/local/bin/
sudo chown root:root /usr/local/bin/etcd*
} }
``` ```