From 7fb190ab9a0b28928a6e32d5518ea74ee8bdc84f Mon Sep 17 00:00:00 2001 From: James Slagle Date: Thu, 30 Apr 2015 19:45:40 -0400 Subject: [PATCH] chown stackrc and tripleo-undercloud-passwords We need to chown these files to the current user now that they are mode 0600. Change-Id: I5b6aa8e4316f937ef39b04f49487fd71f26c6fe7 --- doc/source/installation/installing.rst | 2 ++ scripts/instack-install-undercloud | 2 ++ 2 files changed, 4 insertions(+) diff --git a/doc/source/installation/installing.rst b/doc/source/installation/installing.rst index e3d84c656..f7e362e73 100644 --- a/doc/source/installation/installing.rst +++ b/doc/source/installation/installing.rst @@ -69,4 +69,6 @@ these files will be needed to interact with the installed undercloud. Copy them to the home directory for easier use later:: sudo cp /root/tripleo-undercloud-passwords . + sudo chown $USER: tripleo-undercloud-passwords sudo cp /root/stackrc . + sudo chown $USER: stackrc diff --git a/scripts/instack-install-undercloud b/scripts/instack-install-undercloud index 228ba25eb..de9b7cff3 100755 --- a/scripts/instack-install-undercloud +++ b/scripts/instack-install-undercloud @@ -147,7 +147,9 @@ These files are needed to interact with the OpenStack services, and should be secured. For convenience, they can be copied to the current directory: sudo cp /root/tripleo-undercloud-passwords . +sudo chown $USER: tripleo-undercloud-passwords sudo cp /root/stackrc . +sudo chown $USER: stackrc #############################################################################"}