From 0f3c83b11bbe473234e95ccc620737b67c7027dc Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Wed, 11 Jul 2018 18:04:48 +0000 Subject: [PATCH 1/2] Use `--no-overwrite-dir` in installation doc. Signed-off-by: Lantao Liu --- docs/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation.md b/docs/installation.md index c3cc1bfee..0d5063cb6 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -84,7 +84,7 @@ curl https://storage.googleapis.com/cri-containerd-release/cri-containerd-${VERS ## Step 2: Install Containerd If you are using systemd, just simply unpack the tarball to the root directory: ```bash -sudo tar -C / -xzf cri-containerd-${VERSION}.linux-amd64.tar.gz +sudo tar --no-overwrite-dir -C / -xzf cri-containerd-${VERSION}.linux-amd64.tar.gz sudo systemctl start containerd ``` If you are not using systemd, please unpack all binaries into a directory in your `PATH`, and start `containerd` as monitored long running services with the service manager you are using e.g. `supervisord`, `upstart` etc. From 5637e8be40bf20032be7fc11ff280ff6e8feb6ac Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Wed, 11 Jul 2018 18:26:13 +0000 Subject: [PATCH 2/2] Set 0022 umask for `hack/release.sh`. Signed-off-by: Lantao Liu --- hack/release.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/release.sh b/hack/release.sh index 616d0ecc4..e59e1a74c 100755 --- a/hack/release.sh +++ b/hack/release.sh @@ -21,6 +21,8 @@ set -o pipefail source $(dirname "${BASH_SOURCE[0]}")/utils.sh cd ${ROOT} +umask 0022 + # BUILD_DIR is the directory to generate release tar. # TARBALL is the name of the release tar. BUILD_DIR=${BUILD_DIR:-"_output"}