在Catalina中添加一个应用程序并授予其访问下载的权限。

如何在Catalina中给一个应用程序访问下载权限?
该应用程序未出现在应用程序列表中。我已解锁设置,您可以在下面的截图中看到,但是“+”按钮仍然灰色,因此我无法添加应用程序。

enter image description here

这个 app 具体是 Screenflow,我试图将一个从 Downloads 下载的 .mp4 文件拖放到它里面。当我这么做时,出现了一个错误,我猜想可能与权限有关。

enter image description here

错误信息为“Error Domain=NSPOSIXErrorDomain Code=-1 "Unknown error: -1" UserInfo={NSLocalizedDescription=Connection interrupted}”。 我遇到了与Octave 3.8.0的GUI版本相同的问题。没有显示操作系统级别的错误,但应用程序无法访问“下载”并且无法在“安全与隐私”系统偏好设置的隐私选项卡中添加任何内容。

enter image description here

>> QKqueueFileSystemWatcherEngine::addPaths: open: Operation not permitted
Warning: QFileSystemWatcher: failed to add paths: /Users/gregg/Downloads

>> cd Downloads
warning: load_path: .: Operation not permitted
error: cd: unable to find current directory
error: cd: unable to find current directory
>>


注意:MacOS有更新版本的Octave,但斯坦福大学的机器学习课程要求使用3.X版本。

能否复制粘贴错误信息?这样搜索会更方便。另外,操作不允许的代码是1,而不是-1。 - anki
1个回答

我遇到了同样的错误,我找到了原因在这里
原因是你的Octave 3.8.0版本对于你的Catalina操作系统来说太旧了,你应该下载一个新版本的Octave(4.4.1或5.1.0)。你可以在这里下载新版本: https://wiki.octave.org/Octave_for_macOS