Print

Print


I'm trying to upload a small testfile to EOS using different authentication methods.
Steps to reproduce:
I lose my kerberos token, I have a DIRAC Proxy, $XrdSecPROTOCOL is not set. Then I try to upload and it fails with "Operation not permitted".

`kdestroy` 
`$ echo $XrdSecPROTOCOL`

`$ xrdcp --version`
`v4.3.0`
`$ export EOS_MGM_URL="root://eospublic.cern.ch"`
`$ source /afs/cern.ch/project/eos/installation/client/etc/setup.sh`
`$ xrdcp --debug 3 /afs/cern.ch/user/j/jebbing/dirac_home/ILCDIRAC/Testfiles/testfile.txt root://eospublic.cern.ch//eos/clicdp/grid/ilc/user/j/jebbing/`

Error I get is 
`[2016-05-02 14:50:55.716813 +0200][Dump   ][XRootD            ] [eospublic.cern.ch:1094] Got a kXR_error response to request kXR_open (file: /eos/clicdp/grid/ilc/user/j/jebbing//testfile.txt?oss.asize=89, mode: 0644, flags: kXR_new kXR_open_updt kXR_async kXR_retstat ) [3010] Unable to open file /eos/clicdp/grid/ilc/user/j/jebbing/testfile.txt; Operation not permitted
[2016-05-02 14:50:55.716823 +0200][Debug  ][XRootD            ] [eospublic.cern.ch:1094] Handling error while processing kXR_open (file: /eos/clicdp/grid/ilc/user/j/jebbing//testfile.txt?oss.asize=89, mode: 0644, flags: kXR_new kXR_open_updt kXR_async kXR_retstat ): [ERROR] Error response: Unknown error 3010.
[2016-05-02 14:50:55.716840 +0200][Debug  ][File              ] [0x1c31820@root://eospublic.cern.ch:1094//eos/clicdp/grid/ilc/user/j/jebbing//testfile.txt?oss.asize=89] Open has returned with status [ERROR] Server responded with an error: [3010] Unable to open file /eos/clicdp/grid/ilc/user/j/jebbing/testfile.txt; Operation not permitted
[2016-05-02 14:50:55.716845 +0200][Debug  ][File              ] [0x1c31820@root://eospublic.cern.ch:1094//eos/clicdp/grid/ilc/user/j/jebbing//testfile.txt?oss.asize=89] Error while opening at eospublic.cern.ch:1094: [ERROR] Server responded with an error: [3010] Unable to open file /eos/clicdp/grid/ilc/user/j/jebbing/testfile.txt; Operation not permitted
[0B/0B][100%][==================================================][0B/s]  
Run: [ERROR] Server responded with an error: [3010] Unable to open file /eos/clicdp/grid/ilc/user/j/jebbing/testfile.txt; Operation not permitted`

In a different Terminal dirac-proxy-info tells me I have a valid proxy:
`$ dirac-proxy-info 
subject      : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=jebbing/CN=786768/CN=Jan Hendrik Ebbing/CN=proxy
issuer       : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=jebbing/CN=786768/CN=Jan Hendrik Ebbing
identity     : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=jebbing/CN=786768/CN=Jan Hendrik Ebbing
timeleft     : 22:05:52
DIRAC group  : ilc_user
rfc          : False
path         : /tmp/x509up_u91917
username     : jebbing
properties   : NormalUser`


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/361

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1