[Iplant-api-dev] sharing an application
Matthew Vaughn
vaughn at tacc.utexas.edu
Wed Oct 3 14:08:29 MST 2012
Try setting not just world read on the deploymentPath but also on the wrapper script. I *think* there's an issue with recognition of recursive permissions in the current sharing model.
curl -X POST -sku $iPLANT_USER:$iPLANT_TOKEN -d
"username=public&canRead=true&canWrite=false&canExecute=false"
https://foundation.iplantcollaborative.org/io-v1/io/share/ghiban/applications/tophat-2.0.4/lonestar/wrapper.sh
Matt
On Oct 3, 2012, at 4:03 PM, Cornel Ghiban <ghiban at cshl.edu>
wrote:
> Hello API gurus,
>
> I'm trying to share my application with the world, but I'm not sure it's
> working.
>
> Here's what I tried:
>
> curl -X POST -sku $iPLANT_USER:$iPLANT_TOKEN -d
> "username=public&canRead=true&canWrite=false&canExecute=false"
> https://foundation.iplantcollaborative.org/io-v1/io/share/ghiban/applications/tophat-2.0.4/lonestar
>
> I've also used "world" as username, but no luck.
>
> The next command returns the app data only to me (iPlant username=ghiban):
>
> curl -X GET -sku "$iPLANT_USER:$iPLANT_TOKEN"
> https://foundation.iplantcollaborative.org/apps-v1/apps/shared/name/dnalc-tophat
>
> Thanks,
> Cornel
> _______________________________________________
> Iplant-api-dev mailing list
> Iplant-api-dev at iplantcollaborative.org
> http://mail.iplantcollaborative.org/mailman/listinfo/iplant-api-dev
--
Matthew W. Vaughn, Ph.D.,
Manager, Life Sciences Computing Group
Texas Advanced Computing Center
Austin, TX
vaughn at tacc.utexas.edu | (949) 436-6642
More information about the Iplant-api-dev
mailing list