gpt4 book ai didi

macos - 由于在 Big Sur 中的许可,无法运行应用程序

转载 作者:行者123 更新时间:2023-12-03 07:28:22 31 4
gpt4 key购买 nike

我昨天安装了 Mac OS Big Sur,从那以后我无法运行一些旧的应用程序。这是我得到的消息:

"You do not have permission to open the application"
我认为这个应用程序来自一个未知的开发者。
我尝试了在 Catalina 中使用的不同方法,例如:
spctl --master-disable
或者我也尝试禁用 SIP 和 AMFI。
我也试过
sudo xattr -rd com.apple.quarantine /Applications/my_app.app
如果我从终端运行应用程序,这是我得到的错误的文本版本:
The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10826 "kLSNoLaunchPermissionErr: User doesn't have permission to launch the app (managed networks)" UserInfo={_LSFunction=_LSLaunchWithRunningboard, _LSLine=2508, NSUnderlyingError=0x7fcb24c13ec0 {Error Domain=RBSRequestErrorDomain Code=5 "Launched process exited during launch." UserInfo={NSLocalizedFailureReason=Launched process exited during launch.}}}
还尝试禁用加密并运行:
csrutil authenticated-root disable
这是错误窗口:
enter image description here

最佳答案

打开终端或 iTerm 并输入 sudo chmod -R 755 ,然后拖动 .app进入窗口,这会将完整路径带入终端或 iTerm。这对我有用,移动了 -R选项直接在 chmod 之后.
它看起来像这样:

sudo chmod -R 755 Path\ to\ app\ file.app
按回车。

关于macos - 由于在 Big Sur 中的许可,无法运行应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64842819/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com