opensciencegrid / xrootd-multiuser

A filesystem plugin to allow Xrootd write as a different Unix user
Apache License 2.0
2 stars 12 forks source link

Obtain username from passed environment when SecEntity object not pas… #19

Closed abh3 closed 3 years ago

abh3 commented 3 years ago

Added code to replace missing SecEntity object when chksum() is called in the background with the associated username as indicated by the passed environment. This patch will only work when used in conjunction with a patched xrootd that sets up the environment. If used with older xrootd releases it essentially becomes a no-op and the chksum() will fail like it always has. Hence, this patch is benign in any context that it doesn't understand.