Print

Print


Hi,

There is something funny in the xrootd client command line tools, there is no error message printed if the only file given as an argument cannot be removed. See the first command below, while the second one (with two arguments) prints both errors. And neither returns a non-zero exit code.

It might be related to the changes introduced to allow multiple arguments to the rm command, some revisiting might be needed.

Cheers,

.costin

[grigoras@lxplus734 ~]$ xrdfs lxalird.gsi.de:1094 rm /14/51110/732b358f-98b0-11ed-9a02-6c02e09897e9
[grigoras@lxplus734 ~]$ echo $?
0

[grigoras@lxplus734 ~]$ xrdfs lxalird.gsi.de:1094 rm /14/51110/732b358f-98b0-11ed-9a02-6c02e09897e9 /14/51110/732b358f-98b0-11ed-9a02-6c02e09897e1
rm /14/51110/732b358f-98b0-11ed-9a02-6c02e09897e1 : [ERROR] Error response: permission denied
rm /14/51110/732b358f-98b0-11ed-9a02-6c02e09897e9 : [ERROR] Error response: permission denied
[grigoras@lxplus734 ~]$ echo $?
0


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1885@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1885", "url": "https://github.com/xrootd/xrootd/issues/1885", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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