[Iplant-api-dev] agave:// Scheme for Archive Paths

Rion Dooley dooley at tacc.utexas.edu
Fri Jun 13 15:06:33 MST 2014


Looks like the message was correct. That file is owned by a different account despite being in the ipctest user’s tree

$ files-pems-list -V -S data.iplantcollaborative.org<http://data.iplantcollaborative.org> /ipctest/analyses/blarg_bang_quux
Calling curl -sk -H "Authorization: Bearer c12b615895a49d74531bf4b79a892" https://agave.iplantc.org/files/v2/pems/system/data.iplantcollaborative.org//ipctest/analyses/blarg_bang_quux?pretty=true
{
  "status" : "success",
  "message" : null,
  "version" : "2.0.0-SNAPSHOT-rb73c3",
  "result" : [ {
    "username" : "ipcservices",
    "internalUsername" : null,
    "permission" : {
      "read" : true,
      "write" : true,
      "execute" : true
    },
    "_links" : {
      "parent" : {
        "href" : "https://agave.iplantc.org/files/v2/pems/system/data.iplantcollaborative.org//ipctest/analyses/blarg_bang_quux"
      },
      "file" : {
        "href" : "https://agave.iplantc.org/files/v2/media/system/data.iplantcollaborative.org//ipctest/analyses/blarg_bang_quux"
      },
      "profile" : {
        "href" : "https://agave.iplantc.org/profiles/v2/ipcservices"
      }
    }
  } ]
}

Let’s get a second opinion just so we feel good about it...

$ ils -A /iplant/home/ipctest/analyses/blarg_bang_quux
/iplant/home/ipctest/analyses/blarg_bang_quux:
        ACL - ipcservices#iplant:own   g:rodsadmin#iplant:own
        Inheritance - Disabled
  C- /iplant/home/ipctest/analyses/blarg_bang_quux/blarg_bang_quux

You have admin on that system, so I’d go in and just recursively grant the ipcuser access to his home directory and try again. One small suggest for what it’s worth. I find that when I’m walking through these exercises, it’s helpful to create a different user account so I don’t run into issues like these from previous development work.

--
Rion




On Jun 13, 2014, at 4:55 PM, Dennis Roberts <dennis at iplantcollaborative.org<mailto:dennis at iplantcollaborative.org>> wrote:

agave://data.iplantcollaborative.org/ipctest/analyses/blarg_bang_quux

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iplantcollaborative.org/pipermail/iplant-api-dev/attachments/20140613/89bf4bed/attachment.html 


More information about the Iplant-api-dev mailing list