A long time ago, I have installed Cloud Foundry CLI command line tool. Recently, I started to prepare my self for the IBM Bluemix Cloud certification and I found that when I type cf commands at the terminal interfaces it fails with:
1 2 |
FAILED Error read/writing config: open /Users/claudiu/.cf/config.json: permission denied |
I found that CLI tools have created a .cf directory under my user home directory and it doesn’t have permission to write under that directory.
I fixed this by running the following command:
1 |
sudo chmod -R 777 /Users/claudiu/.cf |
Spread the love