[WMS-123] setting umask 0077 breaks glite-wms-job-submit Created: 08/Jul/14  Updated: 11/Sep/14  Resolved: 15/Jul/14

Status: Resolved
Project: WMS
Component/s: None
Affects Version/s: 3.6.1 WMS UI
Fix Version/s: 3.6.2 WMS UI
Security Level: Public (Visbile by non-authn users.)

Type: Bug Priority: Major
Reporter: Alvise Dorigo Assignee: Alvise Dorigo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

https://ggus.eu/index.php?mode=ticket_info&ticket_id=99860



 Comments   
Comment by Doina Cristina Duma [ 11/Sep/14 ]

non riesco riprodurre il bug, sia su SL6 che SL5.
rilascero' comunque.

Comment by Alvise Dorigo [ 16/Jul/14 ]

To reproduce the bug repeat the following commands using a JDL like this:

dorigoa@cream-08 9:30:15 ~>cat ticket_99860.jdl
Executable = "simple.sh";
StdOutput = "out";
StdError = "err";
InputSandbox =

{"/home/dorigoa/simple.sh"}

;
OutputSandbox =

{"out", "err"}

;

The important thing to note is that the executable IS IN the ISB.

The commands are:

dorigoa@cream-08 9:31:18 ~>glite-wms-job-submit -a -c ./cream-25.conf ticket_99860.jdl

Connecting to the service https://cream-25.pd.infn.it:7443/glite_wms_wmproxy_server

====================== glite-wms-job-submit Success ======================

The job has been successfully submitted to the WMProxy
Your job identifier is:

https://prod-wms-01.pd.infn.it:9000/9pUYSwf681KldokyzeBwIA

==========================================================================

dorigoa@cream-08 9:31:45 ~>glite-wms-job-status https://prod-wms-01.pd.infn.it:9000/9pUYSwf681KldokyzeBwIA

======================= glite-wms-job-status Success =====================
BOOKKEEPING INFORMATION:

Status info for the Job : https://prod-wms-01.pd.infn.it:9000/9pUYSwf681KldokyzeBwIA
Current Status: Running
Status Reason: unavailable
Destination: cccreamceli02.in2p3.fr:8443/cream-sge-short
Submitted: Wed Jul 16 09:31:23 2014 CEST
==========================================================================

dorigoa@cream-08 9:32:30 ~>umask 0077
dorigoa@cream-08 9:32:46 ~>glite-wms-job-submit -a -c ./cream-25.conf ticket_99860.jdl

Connecting to the service https://cream-25.pd.infn.it:7443/glite_wms_wmproxy_server

====================== glite-wms-job-submit Success ======================

The job has been successfully submitted to the WMProxy
Your job identifier is:

https://prod-wms-01.pd.infn.it:9000/fjzFJ_dYOKeTrKZdt02NyQ

==========================================================================
dorigoa@cream-08 9:32:51 ~>glite-wms-job-status https://prod-wms-01.pd.infn.it:9000/fjzFJ_dYOKeTrKZdt02NyQ

======================= glite-wms-job-status Success =====================
BOOKKEEPING INFORMATION:

Status info for the Job : https://prod-wms-01.pd.infn.it:9000/fjzFJ_dYOKeTrKZdt02NyQ
Current Status: Waiting
Status Reason: BrokerHelper: cannot create the brokerinfo file at /var/SandboxDir/fj/https_3a_2f_2fprod-wms-01.pd.infn.it_3a9000_2ffjzFJ_5fdYOKeTrKZdt02NyQ/input/.BrokerInfo
Submitted: Wed Jul 16 09:32:50 2014 CEST
==========================================================================

To test the fix update the glite-wms-ui-commands in the WMS-UI node to the version 3.5.3 and repeat the above commands. The second submission (performed afeter the "umask 0077" should succeed).

Comment by Alvise Dorigo [ 15/Jul/14 ]

Fix committed in org.glite.wms-ui.command/master

Generated at Tue Jun 03 01:32:59 CEST 2025 using Jira 10.3.6#10030006-sha1:0dc21a711362757421d62af2e50bcb9585207f88.