[ 
https://issues.apache.org/jira/browse/SOLR-14096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997357#comment-16997357
 ] 

Joel Bernstein commented on SOLR-14096:
---------------------------------------

[~dweiss], [~krisden], I just commented on SOLR-14084, about another directory 
that is being created. Tests are passing for me that deal with this directory. 
Is there action now that needs to be taken about this or this something can be 
cleaned up after the 8.4 release?

> DistribPackageStore attempts to create .filestore in read-only directory
> ------------------------------------------------------------------------
>
>                 Key: SOLR-14096
>                 URL: https://issues.apache.org/jira/browse/SOLR-14096
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Dawid Weiss
>            Priority: Blocker
>
> I see this in the logs when running with security manager:
> {code}
> 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/:?]
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to