diff options
author | ramon <ramongomez@us.es> | 2013-02-06 13:18:51 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2013-02-06 13:18:51 +0000 |
commit | 7669bca2f5adc3fa5df41fe910bdd4a4f218778c (patch) | |
tree | ae00c453e5bd67b55c5c5d0330ffd62f6da1a352 /installer | |
parent | 7329020fb679365fbcdf461260c69549b3914ca4 (diff) |
Versión 1.0.5, #562. Instalador y actualizador protegen su fichero de log, porque puede contener información sensible.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3544 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer')
-rwxr-xr-x | installer/opengnsys_installer.sh | 3 | ||||
-rwxr-xr-x | installer/opengnsys_update.sh | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh index ddd09ecb..fafd9be2 100755 --- a/installer/opengnsys_installer.sh +++ b/installer/opengnsys_installer.sh @@ -1130,9 +1130,10 @@ function createDirs() return 1 fi - # Mover el fichero de registro instalación al directorio de logs. + # Mover el fichero de registro de instalación al directorio de logs. echoAndLog "${FUNCNAME}(): moving installation log file" mv $LOG_FILE $OGLOGFILE && LOG_FILE=$OGLOGFILE + chmod 600 $LOG_FILE echoAndLog "${FUNCNAME}(): directory paths created" return 0 diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh index 0bfcd708..3bcba074 100755 --- a/installer/opengnsys_update.sh +++ b/installer/opengnsys_update.sh @@ -496,6 +496,7 @@ function createDirs() # Mover el fichero de registro al directorio de logs. echoAndLog "${FUNCNAME}(): moving update log file" mv $LOG_FILE $OGLOGFILE && LOG_FILE=$OGLOGFILE + chmod 600 $LOG_FILE echoAndLog "${FUNCNAME}(): directory paths created" return 0 |