Pivotal Knowledge Base


Permissions Error when Running BOSH Commands on the Director


Pivotal Cloud Foundry version 1.12


Running BOSH commands on the BOSH Director results in the following permissions error:

$ bosh deploy /var/tempest/workspaces/default/deployments/cf-012a3b45cdea67b8c901.yml
Cannot load YAML file at '/var/tempest/workspaces/default/deployments/cf-012a3b45cdea67b8c901.yml':
Permission denied @ rb_sysopen - /var/tempest/workspaces/default/deployments/cf-012a3b45cdea67b8c901.yml


Due to improved security on the Ops Manager VM, you cannot access the deployment manifest using the BOSH CLI. BOSH commands that reference the manifest generate the error above.


Run BOSH commands using the bosh2 version of the CLI. Both versions of the CLI are installed on the Ops Manager virtual machine (VM).

For example, instead of running bosh vms, use the following command:

$ bosh2 -d DEPLOYMENT-NAME vms

See Advanced Troubleshooting with the BOSH CLI for more information about running BOSH commands on the Ops Manager VM.

If you need to access the deployment manifest itself, authenticate to the Ops Manager API to download the manifest file. See Using the Ops Manager API for more information.


Powered by Zendesk