These exceptions are handled in the code and don’t affect running tests, but 
they can be a distraction when trying to figure out what’s causing a failure. 
When CoreContainer is being initialized, these two paths get “Permission 
Denied” errors since they try to create directories/files.

java.security.AccessControlException: access denied ("java.io.FilePermission" 
"/Users/Erick/apache/solrJiras/master/solr/core/build/resources/test/solr/filestore"
 "write”)

java.security.AccessControlException: access denied ("java.io.FilePermission" 
"/Users/Erick/apache/solrJiras/master/solr/core/build/resources/test/solr/userfiles"
 "write”)

In both cases, the code logs a warning like "Features requiring this directory 
may fail”.

“build” is permitted this way, so I guess gradle runs as some other user?

drwxr-xr-x  11 Erick  staff    352 Aug 28 09:30 build

Any hints on an easy way to avoid these? It’s not worth much effort I don’t 
think since they’re handled, but if it’s easy I’d like to not see them.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to