summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2020-11-17 09:16:35 +0000
committerIrina Gómez <irinagomez@us.es>2020-11-17 09:16:35 +0000
commita89da3dcfcee46b13d8d85f8889434a952c38d2a (patch)
treea9b81364e01bf8b8763845dfee1658899c43ca27
parentc2bd1e963b35f70eb76a1b3cb28bf61b4429d317 (diff)
#988 checkperms sets permissions on ogserver.json
-rwxr-xr-xserver/bin/checkperms4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/bin/checkperms b/server/bin/checkperms
index 613410d1..d7147967 100755
--- a/server/bin/checkperms
+++ b/server/bin/checkperms
@@ -48,8 +48,8 @@ chown -R $OPENGNSYS_USER:$OPENGNSYS_USER $OPENGNSYS_DIR/client/etc/ssl/private
chmod -R go-rwx $OPENGNSYS_DIR/client/etc/ssl/private
chown $OPENGNSYS_USER:$OPENGNSYS_USER $OPENGNSYS_DIR/client/interfaceAdm/CambiarAcceso
chmod 700 $OPENGNSYS_DIR/client/interfaceAdm/CambiarAcceso
-chown root:$APACHE_GROUP $OPENGNSYS_DIR/{www/controlacceso*.php,etc/ogAdmRepo*.cfg,etc/ogserver*.cfg}
-chmod 640 $OPENGNSYS_DIR/{www/controlacceso*.php,etc/ogAdmRepo*.cfg,etc/ogserver*.cfg}
+chown root:$APACHE_GROUP $OPENGNSYS_DIR/{www/controlacceso*.php,etc/ogAdmRepo*.cfg,etc/ogserver*.json}
+chmod 640 $OPENGNSYS_DIR/{www/controlacceso*.php,etc/ogAdmRepo*.cfg,etc/ogserver*.json}
chown -R $APACHE_USER:$APACHE_GROUP $OPENGNSYS_DIR/www/images/{fotos,iconos}
mkdir -p $OPENGNSYS_DIR/www/{api,tmp}
chown -R $APACHE_USER:$APACHE_GROUP $OPENGNSYS_DIR/www/{api,tmp}