Root permission denied on MAC PS


Please read tips for efficient and successful posting and posting code

Please fill also the fields below. Note that root -b -q will tell you this info, and starting from 6.28/06 upwards, you can call .forum bug from the ROOT prompt to pre-populate a topic.

_ROOT Version:6.31/01
_Platform: MAC os 14.1.1 (23B81) with Apple M1 Max
Compiler: Not Provided


Dear expert,

I suddenly can not run root on my mac with error massage:

➜  bin source ./thisroot.sh 
➜  bin root 
zsh: permission denied: root

I can run it yesterday. I did not remember I set something special about my computer. It just suddenly can not use it.
I tried

➜  bin ./root.exe 

I can run root but when I directly using root command it shows permission denied massage

Do you know why I met this issue?

Thanks a lot fro your help!

Hi,

It looks like the environment is not properly configured, specifically PATH. Have you checked that?

Cheers,
D

Hello Danilo,

I checked the environment, they seem as same as before.

➜  addv2_1 echo $PATH
/Users/wztbxl/bin/:/Users/wztbxl/Local/root630/root-build/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/wztbxl/bin/:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Library/TeX/texbin

There is my PATH. I included the path related the root.

Best,
Zhen

Hi,

I am not sure what to suggest, this looks like a matter related to the configuration of your machine. As a last resort, have you tried configuring and building from scratch?

Best,
D

It is weird, because you were able to run it until now.
Just an idea:
in System Settings
→ Privacy & Security
→ Scroll down to Security :
“Allow applications from” is set to what ?