This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Description
We spent years to get rid of any reliance on a mounted name space. RucioN2N reintroduces such a check:
if (Files.exists(path)) {
This will only work if you have an NFS mount of dCache on this host. Rather than checking yourself, you should let dCache check the patch by simply returning it.
Even if the name space is mounted, your check would fail if a site uses a standard dCache setup in which the door runs as an unprivileged user. E.g. at NDGF most dCache code runs as user 'dcache' however that user doesn't have access to any of the atlas name space. So even when the name space is mounted (which most of the time it is not), your code would not have privileges to check if the file exists.