This sounds strange after an untar, perhaps something with Java20? It is more common to use Java 17. Most likely you can circumvent it by disabling Java Security Manager
SOLR_SECURITY_MANAGER_ENABLED=true bin/solr start -f Jan > 22. mai 2023 kl. 16:11 skrev Doug Turnbull > <[email protected]>: > > The latest Solr 8.11 binary release does not seem to exhibit this behavior > FWIW > > On Mon, May 22, 2023 at 10:01 AM Doug Turnbull <[email protected]> > wrote: > >> Hey all, I have Java 20 installed on OSX m1 >> >> I downloaded Solr 9.2.1 (binary release) from >> https://solr.apache.org/downloads.html >> >> and unzipped it to a directory under my home folder: >> >> $ tar -xzf solr-9.2.1.tgz >> $ cd solr-9.2.1 >> $ ./bin/solr start -f >> >> I unfortunately get an AccessControlException, with access denied to /. >> >> java.lang.reflect.InvocationTargetException >> at >> java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119) >> at java.base/java.lang.reflect.Method.invoke(Method.java:578) >> at org.eclipse.jetty.start.Main.invokeMain(Main.java:229) >> at org.eclipse.jetty.start.Main.start(Main.java:527) >> at org.eclipse.jetty.start.Main.main(Main.java:76) >> Caused by: java.security.AccessControlException: access denied >> ("java.io.FilePermission" "/" "read") >> >> Any ideas on how I might resolve this? Or am I doing something wrong? >> >> Thanks >> -Doug >>
