summaryrefslogtreecommitdiffstats
path: root/server/bin
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-03-14 12:40:11 +0000
committerramon <ramongomez@us.es>2017-03-14 12:40:11 +0000
commit663cd90576a70f36ad3e7902570c465eba455933 (patch)
tree2053152f6ef9bea2580547d207bb795cf62b1f70 /server/bin
parent6f4d39baf193d0418f59cfb786f6aa2e08475936 (diff)
#730: Actaulizador no cambiar permisos, usa script {{{checkperms}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5232 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin')
-rwxr-xr-xserver/bin/checkperms2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/bin/checkperms b/server/bin/checkperms
index 97379004..917e6391 100755
--- a/server/bin/checkperms
+++ b/server/bin/checkperms
@@ -51,8 +51,10 @@ chown root:$APACHE_GROUP $OPENGNSYS_DIR/{www/controlacceso*.php,etc/ogAdmRepo*.c
chmod 640 $OPENGNSYS_DIR/{www/controlacceso*.php,etc/ogAdmRepo*.cfg}
chown -R $APACHE_USER:$APACHE_GROUP $OPENGNSYS_DIR/www/images/{fotos,iconos}
chown -R $APACHE_USER:$APACHE_GROUP $OPENGNSYS_DIR/www/api
+chown -R $APACHE_USER:$APACHE_GROUP $OPENGNSYS_DIR/www/tmp # ???
chown -R $APACHE_USER:$APACHE_GROUP $OPENGNSYS_DIR/tftpboot/menu.lst
chown -R :$OPENGNSYS_USER $OPENGNSYS_DIR/tftpboot/ogclient
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.log