diff --git a/xCAT-server/lib/xcat/plugins/packimage.pm b/xCAT-server/lib/xcat/plugins/packimage.pm index 7fac7d89f..f0da53b5b 100644 --- a/xCAT-server/lib/xcat/plugins/packimage.pm +++ b/xCAT-server/lib/xcat/plugins/packimage.pm @@ -133,6 +133,7 @@ sub process_request { $oldmask = umask 0077; } elsif ($method =~ /squashfs/) { $temppath = mkdtemp("/tmp/packimage.$$.XXXXXXXX"); + chmod 0755,$temppath; $excludestr =~ s!-a \z!|cpio -dump $temppath!; } elsif ($method =~ /nfs/) { $excludestr = "touch ../rootimg.nfs";