Permissions on OSX

I download and installed the SDK on my Macbook (OSX v11.4) as displayed in the doc but cannot run successfully the dfx CLI without prefixing it with sudo.

For example, dfx start returns the error Permission denied (os error 13).

Any clue which particular permissions have to be set after installation?

I think I solved this one.

  1. sudo chown .... on /usr/local/bin/dfx
  2. sudo chmod u=rwX,go=rX /usr/local/bin/dfx (source)
  3. sudo chown -R .... on ~/.cache/dfinity