I am trying to write a php script to create a directory then make a symlink to that directory. So far, I cannot even get the directory created. The authentication has even been simplified to rule that out.
Here is what I have. This script is trying to create the folder 'NewFolder'. Any hints?
The RAN API does not support creating a symlink today. You will need to have your SE file a feature request for that. But creating a directory does work, as long as you have the RBAC permissions for Namespace access and you have permission to create a directory at that point in the filesystem.
Make sure that the node you're authenticating to is the same node that you're issuing subsequent commands on. If you're using a SmartConnect zone, you will get authentication errors.
Even with all the permissions correct and hitting the direct IP address of the isilon-node, my script still does not create a directory. Using the same credentials and IP address, I can create the directory with curl but not with PHP. Any hints or examples?
Peter_Sero
6 Operator
•
1169 Posts
2196
1
Posted August 11th, 2017 09:00
What error message do you get?
Does the user have the ISI_PRIV_NS_IFS_ACCESS privilege for the namespace API,
via a custom role?
-- Peter