Print

Print


Hi @abh3 , I tried creating an already existing directory with the 'xroot' protocol instead and got a "File exist" which is the expected behavior.

```
[root@143e9b594cb7 tpc_transfers]# gfal-mkdir root://redirector.t2.ucsd.edu:1094//store/user/ddavila/newdir-001/
gfal-mkdir error: 17 (File exists) - Failed to create directory root://redirector.t2.ucsd.edu:1094//store/user/ddavila/newdir-001/ (File exists) 
```

I also noticed that the error is different between XRootD v4 and v5. The error message that I showed in the post above is from V4. This is what I get from v5:
```
[root@143e9b594cb7 tpc_transfers]# gfal-mkdir davs://redirector.t2.ucsd.edu:1094/store/user/ddavila/newdir-001/
gfal-mkdir error: 5 (Input/output error) - HTTP 500 : Unexpected server error: 500  with url davs://redirector.t2.ucsd.edu:1094/store/user/ddavila/newdir-001/
```

so: 
v4 -> 404 File not found
v5 -> 500 Unexpected server error



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1360#issuecomment-747718295

########################################################################
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