Terminal zsh: operation not permitted

Joined
Apr 5, 2020
Messages
4
Reaction score
0
Points
1
Gents, I can't run some specific Terminal commands on my MacBook Pro, it says "zsh: operation not permitted". Though it perfectly works on my MB air.
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
16,034
Reaction score
2,441
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
And the command is? Are you running ZSH on the MBA as well? Older versions of macOS ran BASH as the shell. There are subtleties of what BASH will tolerate while ZSH will not, so you need to "translate" the commands appropriately.
 
OP
J
Joined
Apr 5, 2020
Messages
4
Reaction score
0
Points
1
And the command is? Are you running ZSH on the MBA as well? Older versions of macOS ran BASH as the shell. There are subtleties of what BASH will tolerate while ZSH will not, so you need to "translate" the commands appropriately.

Terminal zsh: operation not permitted | Mac Help Forums 2020-04-05 17-36-13.png 2020-04-05 17-38.png

Are you running ZSH on the MBA as well?- YES
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
16,034
Reaction score
2,441
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Is the file 'makeprojdir' an executable? Please do a "ls -l" in that folder and show us the output. Also do a "file makeprojdir" as well.
 
OP
J
Joined
Apr 5, 2020
Messages
4
Reaction score
0
Points
1
Is the file 'makeprojdir' an executable? Please do a "ls -l" in that folder and show us the output. Also do a "file makeprojdir" as well.

Gents, here is the screenshot:

Please note, that I re-installed the Mac OS Catalina, but the problem persists. 05075852-D8D3-43AE-9623-938360FF48A0_4_5005_c.jpeg
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
16,034
Reaction score
2,441
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
OK, the file permissions look correct and it seems to be an executable. Where did you get that file from? Since you are in your Desktop folder, you should have permission to create folders and so on. Do you what the purpose of that program is?
 
OP
J
Joined
Apr 5, 2020
Messages
4
Reaction score
0
Points
1
Where did you get that file from?
A friend of mine sent me
Since you are in your Desktop folder, you should have permission to create folders and so on.
- The terminal has full disk access enabled.
it's an FileMaker iOS SDK

The thing is that this program works well in my MB air, so I am positive that the problem is with some settings in my MB pro.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top