Dawienchi
Dawienchi

Reputation: 95

.cf: operation not permitted

I am running a MacBookPro with an M3 and tried to install the cf-cli.

First I tried:

brew install cloudfoundry/tap/cf-cli@8

This failed with an error related tot the XCode Command Line Tools, so I tried to install it via the binary. Just noticed now, that there isnt mentioned that the binary already supports M3 .. Nevertheless, it runs through.

When I executed:

cf --version

It failed with:

mkdir /Users/XYZ/.cf: operation not permitted
FAILED

After updating my XCode Command Line Tools I could install cf-cli via brew. But still I get the operation not permitted error.

If I run brew list cf-cli@8

It seems to find the installed files:

/opt/homebrew/Cellar/cf-cli@8/8.8.3/bin/cf
/opt/homebrew/Cellar/cf-cli@8/8.8.3/bin/cf8
/opt/homebrew/Cellar/cf-cli@8/8.8.3/etc/bash_completion.d/cf8-cli
/opt/homebrew/Cellar/cf-cli@8/8.8.3/sbom.spdx.json
/opt/homebrew/Cellar/cf-cli@8/8.8.3/share/doc/ (2 files)

Upvotes: 0

Views: 19

Answers (0)

Related Questions