Opened 8 years ago

Last modified 8 years ago

#1329 new defect

IZ3297: Using a pseudo variable to qsub -wd changes output path instead of working directory

Reported by: reuti Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2u5
Severity: minor Keywords:
Cc:

Description (last modified by admin)

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=3297]

Issue #:  3297 
Summary:  Using a pseudo variable to qsub -wd changes output path instead of working directory 
Component:  gridengine 
Version:  6.2u5 
Platform:  All 
URL:   
OS/Version:  All 
tatus:  NEW 
Status whiteboard:   
Keywords:   
Resolution:   
Issue type:  DEFECT 
Priority:  P3 
Subcomponent:  kernel 
Assigned to:  andreas 
Reported by:  reuti

------- Additional comments from reu...@sunsource.net Fri Dec 10 13:30:22 -0800
2010 -------

Issuing a command like:

qsub -wd '$HOME' test.sh

will not change the working directory, but instead create a stdout file with
literal name $HOME in the home directory. Using pseudo variables seems to be used by the JAVA interface too (where it also fails), but
according to `man qsub` "-wd" doesn't support pseudo variables at all.

The above command should fail, unless there exists a directory with name
/home/user/$HOME in literal.

That the output file is changed, seems to be a side effect when the $HOME is
seen and interpreted. 

Change History (1)

comment:1 Changed 8 years ago by admin

  • Description modified (diff)
Note: See TracTickets for help on using tickets.