From 376b6316608fe72bc4a0bd997e1c94f76b086588 Mon Sep 17 00:00:00 2001 From: Bob Ball Date: Mon, 29 Jul 2013 13:10:25 +0100 Subject: [PATCH] Force $DEST to have wider permissions This is particularly useful in the case where we create the home directory above and the permissions are too strict. Other users, such as the apache user, need read/execute for this directory. Change-Id: I908d993dbcd863b482030afcc04e5e7b9f4cffa1 --- stack.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stack.sh b/stack.sh index 880529d5af..d4c0eab608 100755 --- a/stack.sh +++ b/stack.sh @@ -234,8 +234,10 @@ else fi # Create the destination directory and ensure it is writable by the user +# and read/executable by everybody for daemons (e.g. apache run for horizon) sudo mkdir -p $DEST sudo chown -R $STACK_USER $DEST +chmod 0755 $DEST # a basic test for $DEST path permissions (fatal on error unless skipped) check_path_perm_sanity ${DEST}