summaryrefslogtreecommitdiffstats
path: root/server/bin/checkperms
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2019-06-13 11:05:35 +0200
committerRamón M. Gómez <ramongomez@us.es>2019-06-13 11:05:35 +0200
commit505085017506c883ba0d38feaeca66ef7a327a63 (patch)
tree4c8deea8aebd548104ff4aa34b7202dceb7d951f /server/bin/checkperms
parent676dd3cbc175b4840b66315269458c9f12f9ea51 (diff)
#802: Creating certificate to sign boot loaders.
Diffstat (limited to 'server/bin/checkperms')
-rwxr-xr-xserver/bin/checkperms2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/bin/checkperms b/server/bin/checkperms
index a148b60f..424c1b48 100755
--- a/server/bin/checkperms
+++ b/server/bin/checkperms
@@ -44,6 +44,8 @@ find $OPENGNSYS_DIR/images -maxdepth 1 -exec chown :$OPENGNSYS_USER {} \;
find $OPENGNSYS_DIR/images -maxdepth 1 -type d -exec chmod 775 {} \;
find $OPENGNSYS_DIR/images -maxdepth 1 -type f -exec chmod 664 {} \;
find $OPENGNSYS_DIR/client/{interfaceAdm,scripts} ! -name "*.txt" -exec chmod +x {} \;
+chown -R $OPENGNSYS_USER:$OPENGNSYS_USER $OPENGNSYS_DIR/client/etc/ssl/private
+chmod -R go-rwx $OPENGNSYS_USER:$OPENGNSYS_USER $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:root $OPENGNSYS_DIR/etc/{ogAdmServer,ogAdmAgent}*.cfg