Slash behaviour under standard authdb and xrootd exports:
Code Block |
---|
all.export *?
all.export / |
same behaviour if all.export * is used
root | davs | |
---|---|---|
/ | fails (permission denied) | ok |
// | ok | ok |
cms_select called | yes, path removes leading slash for single slash | no |
behaviour: cmsd removes the leading slash if a single slash is given for the path for reads, writes, tpc and stat. 2 or more slashes result in a path starting with a single leading slash.
root protocol triggers the XrdCmsCluster::Select(XrdCmsSelect &Sel) function in /src/XrdCms/XrdCmsCluster.cc, while davs does not
/store | //store | /lhcb:user (or other) | //lchb:user (or other) | |
---|---|---|---|---|
xrootd.echo.stfc.ac.uk | ok | ok | ok | ok |
cmsd | fail | ok | fail | ok |
cmsd with / injection | fail | ok | ok | ok |
/store seems to be rejected with permission denied before it gets to anywhere that’s logged in the cmsd logs.