summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2018-01-10 13:35:35 +0000
committerramon <ramongomez@us.es>2018-01-10 13:35:35 +0000
commitbff01c7f568b1b4c2023d3a6f2460b95250c16d8 (patch)
tree3099c8407524af69e2d755074915aab002f1979e
parent865c207ef08c662a6a8c72eda3942365a425bf33 (diff)
#820: Cambiar permisos en el directorio de grupos correcto.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5552 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-xserver/bin/checkperms2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/bin/checkperms b/server/bin/checkperms
index b478b96a..25a7e150 100755
--- a/server/bin/checkperms
+++ b/server/bin/checkperms
@@ -37,7 +37,7 @@ if [ -z "$(getent passwd "$APACHE_USER" 2>/dev/null)" -o -z "$(getent group "$AP
exit 1
fi
-chown -R :$OPENGNSYS_USER $OPENGNSYS_DIR/{log/clients,images/group}
+chown -R :$OPENGNSYS_USER $OPENGNSYS_DIR/{log/clients,images/groups}
find $OPENGNSYS_DIR/log/clients -type f -exec chmod 664 {} \;
find $OPENGNSYS_DIR/images -maxdepth 1 -exec chown :$OPENGNSYS_USER {} \;
find $OPENGNSYS_DIR/images -maxdepth 1 -type d -exec chmod 775 {} \;