Hello Peter,

Have you confirmed that there is not a file permission/ownership issue with
these files/directories?  It seems you are user "user" from the location of
the Documents directory.  Is that the owner that has rw permissions on
pom.xml?

Regards,
Carl

On Sun, Mar 6, 2022 at 11:53 AM Peter Ream <todive...@gmail.com> wrote:

> I installed NB13 using carljmosca/netbeans-macos-bundle: NetBeans
> installation script for Mac OS X (github.com)
> <https://github.com/carljmosca/netbeans-macos-bundle> on MacOS 12.2.1 on
> MacBook Air M1. The install went without a hitch. However none of my maven
> projects will open. I get:
>
> 1 problem was encountered while building the effective model
> [FATAL] Non-readable POM /Users/user/Documents/Java
> Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml:
> /Users/user/Documents/Java
> Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml (Operation
> not permitted) @
>  for project  at /Users/user/Documents/Java
> Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml
>
> When I try “Resolve Problem”, I get:
>
> cd /Users/user/Documents/Java
> Projects/NetBeansProjects/Maven/Test/Handicap;
> JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
> "/Applications/NetBeans/Apache NetBeans
> 13.app/Contents/Resources/NetBeans/java/maven/bin/mvn" -DskipTests=true
> --fail-at-end package
> shell-init: error retrieving current directory: getcwd: cannot access
> parent directories: Operation not permitted
> pwd: error retrieving current directory: getcwd: cannot access parent
> directories: Operation not permitted
> pwd: error retrieving current directory: getcwd: cannot access parent
> directories: Operation not permitted
> chdir: error retrieving current directory: getcwd: cannot access parent
> directories: Operation not permitted
> chdir: error retrieving current directory: getcwd: cannot access parent
> directories: Operation not permitted
> pwd: error retrieving current directory: getcwd: cannot access parent
> directories: Operation not permitted
> Scanning for projects…
>
> There appears to be a problem with accessing the POM. I have “Files and
> Folders” and “Full Disk Access” set for NB13.
>
> Any ideas?
>


-- 
Carl J. Mosca

Reply via email to