Verify EOS access via certificate
Check authentification with EOS
To be sure that everything is working fine with certificate one can check it via following commands
$ export EOS_MGM_URL=root://eos.jinr.ru
$ eos -b whoami
Virtual Identity: uid=18401 (18401) gid=530 (530) [authz:gsi] host=gril78.jinr.ru domain=jinr.ru geo-location=RU::JINR::LIT
One can see in output that user is authentificated with uid=18401
via GSI (x509 certificate) authentification [authz:gsi]
In case one see following message
Virtual Identity: uid=99 (99) gid=99 (99) [authz:unix] host=gril78.jinr.ru domain=jinr.ru geo-location=RU::JINR::LIT
that means that user is NOT
authentificated. It is authentificated as nobody
(uid=99
).
Open file from EOS via certificate
$ source /cvmfs/nica.jinr.ru/sw/os/login.sh
$ module add mpdroot
$ root root://eos.jinr.ru//eos/nica/mpd/dirac/mpd.nica.jinr/vo/mpd/data/exp/dst-2020-01-10-mpg4-250ev/AuAu/11.0GeV-mb/UrQMD/mp01-2020-250ev-pf-4/urqmd-AuAu-11.0GeV-mb-eos0-250-39993.reco.root
Plugin No such file or directory loading sec.protocol libXrdSeckrb5-5.so
root [0]
Attaching file root://eos.jinr.ru//eos/nica/mpd/dirac/mpd.nica.jinr/vo/mpd/data/exp/dst-2020-01-10-mpg4-250ev/AuAu/11.0GeV-mb/UrQMD/mp01-2020-250ev-pf-4/urqmd-AuAu-11.0GeV-mb-eos0-250-39993.reco.root as _file0...
Warning in <TClass::Init>: no dictionary for class FairMCTrack is available
(TFile *) 0x24e2530
root [1]
File was open correctly when pointer value is not nullptr
. For example (TFile *) 0x24e2530
Last update:
April 6, 2022