From 6ae785af6e4e8b7bdd1fc6ce8c3689c3fbb78682 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Wed, 6 Mar 2013 10:33:41 +0000 Subject: [PATCH] fix infinite provision problem after use kit git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/kit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/kit.pm b/xCAT-server/lib/xcat/plugins/kit.pm index 97520c36b..0b44df680 100644 --- a/xCAT-server/lib/xcat/plugins/kit.pm +++ b/xCAT-server/lib/xcat/plugins/kit.pm @@ -344,7 +344,7 @@ sub assign_to_osimage if (open(FILE, ">", "$installdir/postscripts/KIT_$osimage.postbootscripts")) { print FILE "#!/bin/sh\n\n"; close(FILE); - chmod(755,"$installdir/postscripts/KIT_$osimage.postbootscripts"); + chmod(0755,"$installdir/postscripts/KIT_$osimage.postbootscripts"); } }