Print

Print


Issuing a copy command: 

08:37:10:xavierc3@lxplus0013:~$ uname -a
Linux lxplus0013 2.6.32-358.6.1.el6.x86_64 #1 SMP Wed Apr 24 09:18:30 CEST 2013 x86_64 x86_64 x86_64 GNU/Linux


08:41:41:xavierc3@lxplus0013:~$ export STAGE_HOST=castorpublic

08:41:41:xavierc3@lxplus0013:~$ export STAGE_SVCCLASS=default

08:41:47:xavierc3@lxplus0013:~$ xrdcp root://$STAGE_HOST//castor/cern.ch/compass/data/2006/oracle_dst/W35/mDST/mDST-50936-2-7.root?svcClass=$STAGE_SVCCLASS /tmp/
[xrootd] Total 1434.37 MB	|====================| 100.00 % [117.6 MB/s]

Ends up creating this file name:

08:42:09:xavierc3@lxplus0013:~$ ls -ltr /tmp/  
[...]
-rw-r--r--.   1 xavierc3 c3     1504050038 May 17 08:42 mDST-50936-2-7.root?svcClass=default


While passing the options through -OS works fine:

08:50:50:xavierc3@lxplus0013:~$ xrdcp root://$STAGE_HOST//castor/cern.ch/compass/data/2006/oracle_dst/W35/mDST/mDST-50936-2-7.root -OSsvcClass=$STAGE_SVCCLASS /tmp/xavierc3/
[xrootd] Total 1434.37 MB	|====================| 100.00 % [114.1 MB/s]

08:51:11:xavierc3@lxplus0013:~$ ls -ltr /tmp/xavierc3/
total 1468804
-rw-r--r--. 1 xavierc3 c3 1504050038 May 17 08:51 mDST-50936-2-7.root


I couldn't reproduce this in xrdcp v3.3.2, but probably you may want to commit the fix to v3.3.1.



---
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/21

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1