Commit 1518b797 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

xroot: remote extra check on file being a directory N/A in this case.

parent 9b36f297
Pipeline #12322 passed with stages
in 2 minutes and 54 seconds
......@@ -187,9 +187,6 @@ public class DataServerHandler extends XrootdRequestHandler {
try {
NearlineRequest r = getIORequest(msg.getPath());
var file = getFile(r);
if (file.isDirectory()) {
throw new XrootdException(kXR_isDirectory, "Not a file: " + file);
}
RandomAccessFile raf;
if (msg.isReadWrite() || msg.isNew() || msg.isDelete()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment