From 94bedcd833e7b888632eca49cc3aa533838ea8cd Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 1 Apr 2010 13:24:20 +0000 Subject: [PATCH] fix defect 2977006 add no_subtree_check to exports on install git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/sbin/xcatconfig b/xCAT-server/sbin/xcatconfig index b326bd5ba..28d269842 100644 --- a/xCAT-server/sbin/xcatconfig +++ b/xCAT-server/sbin/xcatconfig @@ -1580,7 +1580,7 @@ sub setupLinuxexports # ok - then add this entry #SECURITY: this has potential for sharing private host/user keys my $cmd = - "/bin/echo '$::TFTPDIR *(rw,no_root_squash,sync)' >> /etc/exports"; + "/bin/echo '$::TFTPDIR *(rw,no_root_squash,sync,no_subtree_check)' >> /etc/exports"; my $outref = xCAT::Utils->runcmd("$cmd", 0); if ($::RUNCMD_RC != 0) @@ -1607,7 +1607,7 @@ sub setupLinuxexports # ok - then add this entry #SECURITY: this has potential for sharing private host/user keys my $cmd = - "/bin/echo '$::INSTALLDIR *(rw,no_root_squash,sync)' >> /etc/exports"; + "/bin/echo '$::INSTALLDIR *(rw,no_root_squash,sync,no_subtree_check)' >> /etc/exports"; my $outref = xCAT::Utils->runcmd("$cmd", 0); if ($::RUNCMD_RC != 0) {