summaryrefslogtreecommitdiffstats
path: root/server/bin/checkperms
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2016-04-26 16:03:39 +0000
committerramon <ramongomez@us.es>2016-04-26 16:03:39 +0000
commitf6284d27b4d6ffb8370eef228a771aea2e39b53b (patch)
treed0c02cfe8b791c17da6435873972c1dcfb48d4f9 /server/bin/checkperms
parentfb2ee200404c87509c0a1a3660033d685f4c5119 (diff)
#743: Insertar correctamente la clave REST al actualizar y proteger el fichero de configuraciĆ³n del Repositorio, porque ahora incluye infomraciĆ³n sensible.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4910 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin/checkperms')
-rwxr-xr-xserver/bin/checkperms4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/bin/checkperms b/server/bin/checkperms
index d3adda4a..a2d5e787 100755
--- a/server/bin/checkperms
+++ b/server/bin/checkperms
@@ -42,8 +42,8 @@ chmod -R 775 $OPENGNSYS_DIR/{log/clients,images}
find $OPENGNSYS_DIR/client/{interfaceAdm,scripts} ! -name "*.txt" -exec chmod +x {} \;
chown $OPENGNSYS_USER:$OPENGNSYS_USER $OPENGNSYS_DIR/client/interfaceAdm/CambiarAcceso
chmod 700 $OPENGNSYS_DIR/client/interfaceAdm/CambiarAcceso
-chown root:root $OPENGNSYS_DIR/etc/{ogAdmServer,ogAdmAgent}*.cfg
-chmod 600 $OPENGNSYS_DIR/etc/{ogAdmServer,ogAdmAgent}*.cfg
+chown root:root $OPENGNSYS_DIR/etc/{ogAdmServer,ogAdmRepo,ogAdmAgent}*.cfg
+chmod 600 $OPENGNSYS_DIR/etc/{ogAdmServer,ogAdmRepo,ogAdmAgent}*.cfg
chown $APACHE_USER:$APACHE_GROUP $OPENGNSYS_DIR/www/controlacceso*.php
chmod 600 $OPENGNSYS_DIR/www/controlacceso*.php
chown -R $APACHE_USER:$APACHE_GROUP $OPENGNSYS_DIR/www/images/{fotos,iconos}