Hi, I have two machines named xeon80 and xeon32, on which Globus Toolkit 5.0.0 is installed. I want to transfer executable file '/bin/hostname' from xeon80 to xeon32 and run on it. But when i transfer file using GridFTP, it becomes not executable.
[gridu...@xeon80 ~]$ globus-url-copy -vb file:///bin/hostname gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80 Source: file:///bin/ Dest: gsiftp://xeon32.cpct.sibsutis.ru/~/ hostname -> hostname_from_xeon80 [gridu...@xeon32 ~]$ ls -l hostname_from_xeon80 -rw-r--r-- 1 griduser globus 16008 Feb 14 12:47 hostname_from_xeon80 How can i disable file permissions change at transfer? The next will be globus-url-copy issue in the debug mode and GridFTP log on destination (xeon32) host. 1. This is globus-url-copy output in the debug mode [gridu...@xeon80 ~]$ globus-url-copy -vb -dbg file:///bin/hostname gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80 Source: file:///bin/ Dest: gsiftp://xeon32.cpct.sibsutis.ru/~/ hostname -> hostname_from_xeon80 debug: starting to put gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80 debug: connecting to gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80 debug: response from gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: 220 xeon32.cpct.sibsutis.ru GridFTP Server 3.19 (gcc64dbg, 1261034258-1) [Globus Toolkit 5.0.0] ready. debug: authenticating with gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80 debug: response from gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: 230 User griduser logged in. debug: sending command to gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: SITE HELP debug: response from gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: 214-The following commands are recognized: ALLO APPE REST CWD CDUP DCAU EPSV FEAT ERET MDTM STAT ESTO HELP LIST MODE NLST MLSD PASV RNFR MLST NOOP OPTS STOR PASS PBSZ PORT PROT SITE EPRT RETR SPOR SCKS TREV PWD QUIT SBUF SIZE SPAS STRU SYST RNTO TYPE USER LANG MKD RMD DELE CKSM 214 End debug: sending command to gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: FEAT debug: response from gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: 211-Extensions supported AUTHZ_ASSERT UTF8 LANG EN DCAU PARALLEL SIZE MLST Type*;Size*;Modify*;Perm*;Charset;UNIX.mode*;UNIX.owner*;UNIX.group*;Unique*;UNIX.slink*; ERET ESTO SPAS SPOR REST STREAM MDTM PASV AllowDelayed; 211 End. debug: sending command to gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: SITE CLIENTINFO scheme=gsiftp;appname="globus-url-copy";appver="5.3 (gcc64dbg, 1261115505-1) [Globus Toolkit 5.0.0]"; debug: response from gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: 250 OK. debug: sending command to gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: TYPE I debug: response from gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: 200 Type set to I. debug: sending command to gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: PBSZ 1048576 debug: response from gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: 200 PBSZ=1048576 debug: sending command to gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: PASV debug: response from gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: 227 Entering Passive Mode (91,196,245,218,157,191) debug: sending command to gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: ALLO 16008 debug: response from gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: 200 ALLO command successful. debug: sending command to gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: STOR ~/hostname_from_xeon80 debug: response from gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: 150 Begining transfer. debug: writing buffer 0x2b2b8577e010, length 16008, offset=0, eof=true debug: data callback, no error, buffer 0x2b2b8577e010, length 16008, offset=0, eof=true debug: response from gsiftp://xeon32.cpct.sibsutis.ru/~/hostname_from_xeon80: 226 Transfer Complete. debug: operation complete ------------------------------------ 2. GridFTP log on destination (xeon32) host [r...@xeon32 log]# cat gridftp.log [14267] Sun Feb 14 12:56:58 2010 :: GFork functionality not enabled: globus_gfork_child_worker_start() failed: globus_gfork: GFork error: Env not set [14267] Sun Feb 14 12:56:58 2010 :: No configuration file found. [14267] Sun Feb 14 12:56:58 2010 :: Server started in inetd mode. [14267] Sun Feb 14 12:56:58 2010 :: New connection from: xeon80.cpct.sibsutis.ru:47782 [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [CLIENT]: USER :globus-mapping: [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [SERVER]: 331 Password required for :globus-mapping:. [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [CLIENT]: PASS [14267] Sun Feb 14 12:56:58 2010 :: DN /O=Grid/OU=GlobusTest/OU=simpleCA-xeon80.cpct.sibsutis.ru/OU=cpct.sibsutis.ru/CN=Grid User successfully authorized. [14267] Sun Feb 14 12:56:58 2010 :: User griduser successfully authorized. [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [CLIENT]: PASS [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [SERVER]: 230 User griduser logged in. [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [CLIENT]: SITE HELP [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [SERVER]: 214-The following commands are recognized: ALLO APPE REST CWD CDUP DCAU EPSV FEAT ERET MDTM STAT ESTO HELP LIST MODE NLST MLSD PASV RNFR MLST NOOP OPTS STOR PASS PBSZ PORT PROT SITE EPRT RETR SPOR SCKS TREV PWD QUIT SBUF SIZE SPAS STRU SYST RNTO TYPE USER LANG MKD RMD DELE CKSM 214 End [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [CLIENT]: FEAT [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [SERVER]: 211-Extensions supported AUTHZ_ASSERT UTF8 LANG EN DCAU PARALLEL SIZE MLST Type*;Size*;Modify*;Perm*;Charset;UNIX.mode*;UNIX.owner*;UNIX.group*;Unique*;UNIX.slink*; ERET ESTO SPAS SPOR REST STREAM MDTM PASV AllowDelayed; 211 End. [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [CLIENT]: SITE CLIENTINFO scheme=gsiftp;appname="globus-url-copy";appver="5.3 (gcc64dbg, 1261115505-1) [Globus Toolkit 5.0.0]"; [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [SERVER]: 250 OK. [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [CLIENT]: TYPE I [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [SERVER]: 200 Type set to I. [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [CLIENT]: PBSZ 1048576 [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [SERVER]: 200 PBSZ=1048576 [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [CLIENT]: PASV [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [SERVER]: 227 Entering Passive Mode (91,196,245,218,157,191) [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [CLIENT]: ALLO 16008 [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [SERVER]: 200 ALLO command successful. [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [CLIENT]: STOR ~/hostname_from_xeon80 [14267] Sun Feb 14 12:56:58 2010 :: Starting to transfer "/home/griduser/hostname_from_xeon80". [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [SERVER]: 150 Begining transfer. [14267] Sun Feb 14 12:56:58 2010 :: Finished transferring "/home/griduser/hostname_from_xeon80". [14267] Sun Feb 14 12:56:58 2010 :: xeon80.cpct.sibsutis.ru:47782: [SERVER]: 226 Transfer Complete. [14267] Sun Feb 14 12:56:58 2010 :: Closed connection from xeon80.cpct.sibsutis.ru:47782 Best regards, Alexey Paznikov
