Results 1 to 7 of 7
  1. #1
    Terminal zsh: operation not permitted
    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.

  2. #2
    Terminal zsh: operation not permitted
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    12,571
    Rep Power
    24
    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.

  3. #3
    Quote Originally Posted by Raz0rEdge View Post
    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

  4. #4
    Terminal zsh: operation not permitted
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    12,571
    Rep Power
    24
    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.
    --
    Regards
    ...Ashwin


  5. #5
    Quote Originally Posted by Raz0rEdge View Post
    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

  6. #6
    Terminal zsh: operation not permitted
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    12,571
    Rep Power
    24
    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?
    --
    Regards
    ...Ashwin


  7. #7
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. enable/disable internet connection from terminal/with terminal commands?
    By Straitsfan in forum macOS - Operating System
    Replies: 1
    Last Post: 02-12-2018, 03:19 PM
  2. terminal, root & operation not permitted
    By ssinogo in forum macOS - Operating System
    Replies: 3
    Last Post: 01-08-2017, 10:31 AM
  3. Operation not permitted,
    By dfu in forum macOS - Development and Darwin
    Replies: 4
    Last Post: 10-16-2012, 10:08 AM
  4. Operation not permitted,
    By dfu in forum macOS - Operating System
    Replies: 0
    Last Post: 10-15-2012, 02:48 PM
  5. rmdir fails - "Operation not permitted "
    By genecox in forum macOS - Operating System
    Replies: 17
    Last Post: 01-07-2012, 06:45 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •