-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:
parent
e8955f8949
commit
40136d4461
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user