Browse code

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

Bob Ball authored on 2013/07/29 21:10:25
Showing 1 changed files
... ...
@@ -234,8 +234,10 @@ else
234 234
 fi
235 235
 
236 236
 # Create the destination directory and ensure it is writable by the user
237
+# and read/executable by everybody for daemons (e.g. apache run for horizon)
237 238
 sudo mkdir -p $DEST
238 239
 sudo chown -R $STACK_USER $DEST
240
+chmod 0755 $DEST
239 241
 
240 242
 # a basic test for $DEST path permissions (fatal on error unless skipped)
241 243
 check_path_perm_sanity ${DEST}