-Fix problem where squashfs stateless didn't accomodate non-root users

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-10-09 22:51:57 +00:00
parent e8955f8949
commit 40136d4461

View File

@ -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";