Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Adding a homedir chown
Browse files Browse the repository at this point in the history
fixes bug 1195786

Change-Id: I56b282a677ac7fd1d15bd0a9987becc74f574aef
  • Loading branch information
hub-cap committed Jul 2, 2013
1 parent 60ec742 commit f641a48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/files/bootstrap_init-mysql.sh
Expand Up @@ -12,6 +12,9 @@ chmod 0440 $TEMPFILE
sudo chown root:root $TEMPFILE
sudo mv $TEMPFILE /etc/sudoers.d/60_trove_guest

# Some installs have issues with the user homedir
sudo chown GUEST_USERNAME /home/GUEST_USERNAME

# Copies all the trove code to the guest image
sudo -u GUEST_USERNAME rsync -e'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' -avz --exclude='.*' HOST_USERNAME@NETWORK_GATEWAY:PATH_TROVE/ /home/GUEST_USERNAME/trove

Expand Down

0 comments on commit f641a48

Please sign in to comment.