Unauthorized MkDir returns SRM_INVALID_PATH instead of SRM_AUTHORIZATION_FAILURE
Using a valid proxy for a VO:
[vianello@omii006-vm02 ~]$ voms-proxy-init --voms dteam --hours 24
Enter GRID pass phrase:
Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Enrico Vianello
Creating temporary proxy ...................... Done
Contacting voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ..................................................................................................................... Done
Your proxy is valid until Tue Jul 30 12:06:16 2013
Create a directory into a storage area of a different VO:
[vianello@omii006-vm02 ~]$ clientSRM mkdir -e omii005-vm03.cnaf.infn.it:8444 -s srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/tmp.dwEzt26061 ============================================================ Sending Mkdir request to: omii005-vm03.cnaf.infn.it:8444 Before execute: Afer execute: Request Status Code 5 Poll Flag 0 ============================================================ Request status: statusCode="SRM_INVALID_PATH"(5) explanation="Invalid SURL path specified" ============================================================ SRM Response: ============================================================ [vianello@omii006-vm02 ~]$ cat /usr/share/igi-test-ca/test0.cert.pem [vianello@omii006-vm02 ~]$ voms-proxy-init --voms testers.eu-emi.eu --hours 24 Enter GRID pass phrase: Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Enrico Vianello Creating temporary proxy ........................................ Done Contacting emitestbed07.cnaf.infn.it:15002 [/C=IT/O=INFN/OU=Host/L=CNAF/CN=emitestbed07.cnaf.infn.it] "testers.eu-emi.eu" Done Creating proxy ........................................................................... Done Your proxy is valid until Tue Jul 30 12:07:06 2013
It should retrieve SRM_AUTHORIZATION_FAILURE, but a SRM_INVALID_PATH is received. But it isn't an invalid path because if I create a valid proxy for that VO, the mkdir on the path specified before has success:
[vianello@omii006-vm02 ~]$ clientSRM mkdir -e omii005-vm03.cnaf.infn.it:8444 -s srm://omii005-vm03.cnaf.infn.it:8444/srm/managerv2?SFN=/testers.eu-emi.eu/tmp.dwEzt26061 ============================================================ Sending Mkdir request to: omii005-vm03.cnaf.infn.it:8444 Before execute: Afer execute: Request Status Code 0 Poll Flag 0 ============================================================ Request status: statusCode="SRM_SUCCESS"(0) explanation="Directory created with success" ============================================================ SRM Response: ============================================================
- relates to
-
STOR-496 Fix WebDAV returned codes
- Closed