Merge pull request #2286 from mmattel/Strong_dir_perm_update

Set Strong Permissions update because of the Updater App
This commit is contained in:
Carla Schroder
2016-03-22 08:47:11 -07:00

View File

@@ -154,6 +154,7 @@ replace the ``htuser`` and ``htgroup`` variables with your HTTP user and group::
printf "Creating possible missing Directories\n"
mkdir -p $ocpath/data
mkdir -p $ocpath/assets
mkdir -p $ocpath/updater
printf "chmod Files and Directories\n"
find ${ocpath}/ -type f -print0 | xargs -0 chmod 0640
@@ -162,10 +163,11 @@ replace the ``htuser`` and ``htgroup`` variables with your HTTP user and group::
printf "chown Directories\n"
chown -R ${rootuser}:${htgroup} ${ocpath}/
chown -R ${htuser}:${htgroup} ${ocpath}/apps/
chown -R ${htuser}:${htgroup} ${ocpath}/assets/
chown -R ${htuser}:${htgroup} ${ocpath}/config/
chown -R ${htuser}:${htgroup} ${ocpath}/data/
chown -R ${htuser}:${htgroup} ${ocpath}/themes/
chown -R ${htuser}:${htgroup} ${ocpath}/assets/
chown -R ${htuser}:${htgroup} ${ocpath}/updater/
chmod +x ${ocpath}/occ