summaryrefslogtreecommitdiffstats
path: root/server/bin/checkperms
diff options
context:
space:
mode:
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 d7147967..f73f441e 100755
--- a/server/bin/checkperms
+++ b/server/bin/checkperms
@@ -58,4 +58,6 @@ chown -R :$OPENGNSYS_USER $OPENGNSYS_DIR/tftpboot/ogLive*
find -L $OPENGNSYS_DIR/tftpboot -type d -exec chmod 755 {} \;
find -L $OPENGNSYS_DIR/tftpboot -type f -exec chmod 644 {} \;
chown $APACHE_USER:$APACHE_GROUP $OPENGNSYS_DIR/log/{ogagent,remotepc,rest}.log
+chown root:"$OPENGNSYS_USER" "$OPENGNSYS_DIR"/client/ogClient/cfg/ogclient.json
+chmod 640 "$OPENGNSYS_DIR"/client/ogClient/cfg/ogclient.json