Bugzilla – Bug 3769
-cd wont create more than one level of directories
Last modified: 2006-04-18 14:14:21
You need to log in before you can comment on or make changes to this bug.
The -cd (create directory) option on globus-url-copy will create the directory if it is immediately under an existing directory, but not if there is more than one layer missing in the tree. Example (/tmp exists, but /tmp/a does not, nor does /tmp/a/b): allcock@gridftp:~> guc -p 1 -cd file:///home/allcock/junk gsiftp://localhost/tmp/a/b/ error: globus_ftp_client: the server responded with an error 500 500-Command failed. : globus_l_gfs_file_open failed. 500-globus_xio: Unable to open file /tmp/a/b/junk 500-globus_xio: System error in open: Not a directory 500-globus_xio: A system call failed: Not a directory 500 End. allcock@gridftp:~> guc -p 1 -cd file:///home/allcock/junk gsiftp://localhost/tmp/b/ allcock@gridftp:~> guc -p 1 -cd file:///home/allcock/junk gsiftp://localhost/tmp/b/a/ allcock@gridftp:~>
*** Bug 3956 has been marked as a duplicate of this bug. ***
Could you make this bug as major as we need this feature. Can someone please push the priority on fixing this. I see that it has not even been assigned since september
This is fixed and committed to CVS. An update package to 4.0.1 will be available at http://www.globus.org/toolkit/advisories.html shortly.