diff options
author | ramon <ramongomez@us.es> | 2011-04-12 18:32:46 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2011-04-12 18:32:46 +0000 |
commit | b6f17266c4a55805d0875415120589bf50fa9e5b (patch) | |
tree | 2033f94f93ab42bdda9f4df98a0b35bfd17a43df | |
parent | 07c3a59dc8d1e46f6f1a865cb3fd33074ed669c5 (diff) |
VersiĆ³n 1.0: Instalador y actualizador crean los permisos correctos para el script de interfaz web {{{CambiarAcceso}}} (cerrar #366).
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1833 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-x | installer/opengnsys_installer.sh | 2 | ||||
-rwxr-xr-x | installer/opengnsys_update.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh index 2e74c8ec..9d3eb6b9 100755 --- a/installer/opengnsys_installer.sh +++ b/installer/opengnsys_installer.sh @@ -980,7 +980,7 @@ function copyInterfaceAdm () echoAndLog "${FUNCNAME}(): error while copying Administration Interface Folder" hayErrores=1 fi - chown $OPENGNSYS_CLIENT_USER $INSTALL_TARGET/client/interfaceAdm/CambiarAcceso + chown $OPENGNSYS_CLIENT_USER:$OPENGNSYS_CLIENT_USER $INSTALL_TARGET/client/interfaceAdm/CambiarAcceso chmod 700 $INSTALL_TARGET/client/interfaceAdm/CambiarAcceso return $hayErrores diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh index 121ab7dd..1eb31858 100755 --- a/installer/opengnsys_update.sh +++ b/installer/opengnsys_update.sh @@ -331,7 +331,7 @@ function updateInterfaceAdm () exit 1 fi chmod -R +x $INSTALL_TARGET/client/interfaceAdm - chown :$OPENGNSYS_CLIENTUSER $INSTALL_TARGET/client/interfaceAdm/CambiarAcceso + chown $OPENGNSYS_CLIENTUSER:$OPENGNSYS_CLIENTUSER $INSTALL_TARGET/client/interfaceAdm/CambiarAcceso chmod 700 $INSTALL_TARGET/client/interfaceAdm/CambiarAcceso echoAndLog "${FUNCNAME}(): Admin interface updated successfully." } |