Bugzilla – Bug 3596
PBS missing check for relative directories
Last modified: 2005-07-24 13:33:39
You need to log in before you can comment on or make changes to this bug.
All the job manager scripts have a check for relative directories except for pbs.pm. I'm assuming this is an oversight and should be corrected, especially since it allows WS scheduler test "submit208b" to pass. Here is the diff of the fix to pbs.pm: --- pbs.in 9 Jun 2005 19:34:47 -0000 1.18.6.1 +++ pbs.in 23 Jul 2005 23:29:53 -0000 @@ -61,6 +61,10 @@ { return Globus::GRAM::Error::RSL_DIRECTORY(); } + if ($description->directory() =~ m|^[^/]|) { + $description->add("directory", + $ENV{HOME} . '/' . $description->directory()); + } chdir $description->directory() or return Globus::GRAM::Error::BAD_DIRECTORY();
Fix committed to both HEAD and globus_4_0_branch.