Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5004

Netbeans not allowed to access personnal files and folder under macOS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 12.1, 12.0.1, 12.2
    • 12.3
    • core
    • macOS Catalina 10.15.7 (MacBook Pro mid-2015)
      JDK 11.0.9
      Netbeans 12.1 / Netbeans 12.0.1

    Description

      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.

      Attachments

        1. sanbox_error_1.log
          32 kB
          Remi Venant

        Issue Links

          Activity

            People

              Unassigned Unassigned
              the_dartagnan Remi Venant
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5.5h
                  5.5h