OS X permission denied for /usr/local/lib

前端 未结 2 698
隐瞒了意图╮
隐瞒了意图╮ 2021-02-07 22:56

I\'m looking for any advice/intuition/clues/answers on a permission issue that has been plaguing me ever since I switched over to a new Macbook pro. Here\'s the dilemma. Certain

相关标签:
2条回答
  • 2021-02-07 23:28

    It sounds like the folder isn't world executable. Try:

    sudo chmod 755 /usr/local/lib
    

    and then you should be able to use ls or anything else in the folder (still won't allow you to write but your user account shouldn't be able to do that anyway)

    0 讨论(0)
  • 2021-02-07 23:39

    Found the answer from a coworker buddy. The folder needed to be marked executable.

    sudo chmod 755 /usr/local/lib
    

    fixes everything!

    0 讨论(0)
提交回复
热议问题