Description
I see this in the logs when running with security manager:
1645805 WARN (SUITE-LoggingHandlerTest-seed#[DEADBEEF]-worker) [ ] o.a.s.f.DistribPackageStore Unable to create [/home/dweiss/work-ssd/lucene-solr/solr/core/build/resources/test/solr/.filestore] directory in SOLR_HOME [/home/dweiss/work-ssd/lucene-solr/solr/core/build/resources/test/solr]. Features requiring this directory may fail. => java.security.AccessControlException: access denied ("java.io.FilePermission" "/home/dweiss/work-ssd/lucene-solr/solr/core/build/resources/test/solr/.filestore" "write") at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) java.security.AccessControlException: access denied ("java.io.FilePermission" "/home/dweiss/work-ssd/lucene-solr/solr/core/build/resources/test/solr/.filestore" "write") at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) ~[?:?] at java.security.AccessController.checkPermission(AccessController.java:897) ~[?:?] at java.lang.SecurityManager.checkPermission(SecurityManager.java:322) ~[?:?] at java.lang.SecurityManager.checkWrite(SecurityManager.java:752) ~[?:?] at java.io.File.mkdir(File.java:1323) ~[?:?] at java.io.File.mkdirs(File.java:1355) ~[?:?] at org.apache.solr.filestore.DistribPackageStore.ensurePackageStoreDir(DistribPackageStore.java:476) ~[main/:?] at org.apache.solr.filestore.DistribPackageStore.<init>(DistribPackageStore.java:65) ~[main/:?] at org.apache.solr.filestore.PackageStoreAPI.<init>(PackageStoreAPI.java:78) ~[main/:?] at org.apache.solr.core.CoreContainer.load(CoreContainer.java:619) ~[main/:?]
Attachments
Issue Links
- duplicates
-
SOLR-14078 DistribPackageStore tries to write to source tree
- Resolved
- is caused by
-
SOLR-13662 Package manager CLI
- Closed
-
SOLR-13991 clean up permissions in solr-tests.policy
- Closed
- is duplicated by
-
SOLR-15268 TestEnumFields fails due to AccessControlException
- Resolved
- is fixed by
-
SOLR-15369 PackageStoreAPI should only be loaded in Cloud mode
- Closed
- is related to
-
SOLR-14084 Security manager access denied not causing tests to fail
- Closed
- relates to
-
SOLR-13662 Package manager CLI
- Closed
-
SOLR-14099 @LogLevel annotation not properly reseting after end of test (causes LoggingHandlerTest.testLogLevelHandlerOutput failures)
- Closed