You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Thomas Kriener (Jira)" <ji...@apache.org> on 2020/11/12 12:24:00 UTC
[jira] [Commented] (NETBEANS-5004) Netbeans not allowed to access
personnal files and folder under macOS
[ https://issues.apache.org/jira/browse/NETBEANS-5004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230585#comment-17230585 ]
Thomas Kriener commented on NETBEANS-5004:
------------------------------------------
I have the same situation since today with Netbeans 12.0.
Until last week it worked.
The obviously changes I made, are installing the latest Catalina-Fix and update AdoptOpenJDK to 11.0.9 from 11.0.8.
A workaround I found, is giving /bin/sh full disk access. Everything else, like giving access to java or similar did not help.
> Netbeans not allowed to access personnal files and folder under macOS
> ---------------------------------------------------------------------
>
> Key: NETBEANS-5004
> URL: https://issues.apache.org/jira/browse/NETBEANS-5004
> Project: NetBeans
> Issue Type: Bug
> Components: core
> Affects Versions: 12.1, 12.0.1
> Environment: macOS Catalina 10.15.7 (MacBook Pro mid-2015)
> JDK 11.0.9
> Netbeans 12.1 / Netbeans 12.0.1
> Reporter: Remi Venant
> Priority: Major
> Attachments: sanbox_error_1.log
>
>
> With the new *privacy and security features enforced macOS Catalina*, Netbeans and any of its subprocesses are *not allowed to access any of the personnal files and folders* (e.g.: Downloads, Documents...).
> Normally, a system prompt should ask the user when the application attempts to access such files, but here nothing happens. For instance, when I try to access the Document directory through the "Open file..." menu, this directory appears empty.
> The bug seems to be related to the fact that the shell script used to launch Netbeans (/bin/sh [/Applications/NetBeans/Apache NetBeans) isĀ sandboxed.
> Giving full disk access to Netbeans in system preferences did not solve the issue.
> The system console error related to this bug is attached to this ticket.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists