summarylogtreecommitdiffstats
path: root/set-oc-perms.sh
diff options
context:
space:
mode:
Diffstat (limited to 'set-oc-perms.sh')
-rwxr-xr-xset-oc-perms.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/set-oc-perms.sh b/set-oc-perms.sh
index 30ab966e1472..c7507812f69e 100755
--- a/set-oc-perms.sh
+++ b/set-oc-perms.sh
@@ -32,14 +32,21 @@ runtime() {
printf "chmod/chown .htaccess\n"
if [ -f ${ocpath}/.htaccess ]
then
- chmod 0644 ${ocpath}/.htaccess
+ chmod 0664 ${ocpath}/.htaccess
chown ${rootuser}:${htgroup} ${ocpath}/.htaccess
fi
if [ -f ${ocpath}/data/.htaccess ]
then
- chmod 0644 ${ocpath}/data/.htaccess
+ chmod 0664 ${ocpath}/data/.htaccess
chown ${rootuser}:${htgroup} ${ocpath}/data/.htaccess
fi
+
+ printf "chmod/chown .user.ini\n"
+ if [ -f ${ocpath}/.user.ini ]
+ then
+ chmod 0664 ${ocpath}/.user.ini
+ chown ${rootuser}:${htgroup} ${ocpath}/.htaccess
+ fi
}
upgrade() {