summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-06-16 12:27:35 +0000
committerramon <ramongomez@us.es>2011-06-16 12:27:35 +0000
commit4e6c21cb6c30556053cc895a5b08acfb7a076f50 (patch)
treea41f658061490e4d651eb8d6dd40397f083e2f8b
parent9e052210114bee919467714e282d11eec1f8ac82 (diff)
Corregir errata al asignar permisos de TFTP (modifica #413)
git-svn-id: https://opengnsys.es/svn/trunk@2070 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-xinstaller/opengnsys_installer.sh4
-rwxr-xr-xinstaller/opengnsys_update.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh
index e9ec8ccf..f910dab1 100755
--- a/installer/opengnsys_installer.sh
+++ b/installer/opengnsys_installer.sh
@@ -1114,8 +1114,8 @@ function clientCreate()
rmdir $TMPDIR
# Establecer los permisos.
- find -L $INSTALL_TARGET/tftpboot -type d -exec chmod 755 {} \
- find -L $INSTALL_TARGET/tftpboot -type f -exec chmod 644 {} \
+ find -L $INSTALL_TARGET/tftpboot -type d -exec chmod 755 {} \;
+ find -L $INSTALL_TARGET/tftpboot -type f -exec chmod 644 {} \;
chown -R :$OPENGNSYS_CLIENT_USER $INSTALL_TARGET/tftpboot/ogclient
chown -R $APACHE_RUN_USER:$APACHE_RUN_GROUP $INSTALL_TARGET/tftpboot/{menu.lst,pxelinux.cfg}
echoAndLog "${FUNCNAME}(): Client generation success"
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh
index 7178db52..3c46ce57 100755
--- a/installer/opengnsys_update.sh
+++ b/installer/opengnsys_update.sh
@@ -536,8 +536,8 @@ function updateClient()
rmdir $TMPDIR
# Establecer los permisos.
- find -L $INSTALL_TARGET/tftpboot -type d -exec chmod 755 {} \
- find -L $INSTALL_TARGET/tftpboot -type f -exec chmod 644 {} \
+ find -L $INSTALL_TARGET/tftpboot -type d -exec chmod 755 {} \;
+ find -L $INSTALL_TARGET/tftpboot -type f -exec chmod 644 {} \;
chown -R :$OPENGNSYS_CLIENTUSER $INSTALL_TARGET/tftpboot/ogclient
chown -R $APACHE_RUN_USER:$APACHE_RUN_GROUP $INSTALL_TARGET/tftpboot/{menu.lst,pxelinux.cfg}
echoAndLog "${FUNCNAME}(): Client update successfully"