commit | 5f4ae107efbc481db5d3c30c90a63934a2664d51 | [log] [tgz] |
---|---|---|
author | Jesse Andrews <anotherjesse@gmail.com> | Sun Nov 06 07:47:09 2011 -0800 |
committer | Jesse Andrews <anotherjesse@gmail.com> | Sun Nov 06 07:47:09 2011 -0800 |
tree | bedf73994a91cdb9a589bdeb05fadb4990fd2fe7 | |
parent | ab6105ccf6e36ed0ec8aabd3048e33d5064fa70a [diff] [blame] |
chown should be to stack user, not root
diff --git a/stack.sh b/stack.sh index bb26e44..7b0c900 100755 --- a/stack.sh +++ b/stack.sh
@@ -121,7 +121,7 @@ echo "Copying files to stack user" STACK_DIR="$DEST/${PWD##*/}" cp -r -f "$PWD" "$STACK_DIR" - chown -R $USER "$STACK_DIR" + chown -R stack "$STACK_DIR" if [[ "$SHELL_AFTER_RUN" != "no" ]]; then exec su -c "set -e; cd $STACK_DIR; bash stack.sh; bash" stack else