I see that you substitute your own text for he error. You may wish to use the text that comes with the error code; especially if it's EEXIST (or kXR_ItExists). That message differentiates between files and directories. -- 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/pull/1169#issuecomment-612315005 ######################################################################## 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