File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
libs/entitlement/src/main/java/org/elasticsearch/entitlement/bootstrap Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ private static List<Scope> createServerEntitlements(Path pidFile) {
123123 new FilesEntitlement (
124124 List .of (
125125 FilesEntitlement .FileData .ofBaseDirPath (CONFIG , READ ),
126+ FilesEntitlement .FileData .ofBaseDirPath (SHARED_DATA , READ ),
126127 FilesEntitlement .FileData .ofBaseDirPath (DATA , READ_WRITE )
127128 )
128129 )
@@ -131,6 +132,7 @@ private static List<Scope> createServerEntitlements(Path pidFile) {
131132 new Scope (
132133 "org.apache.lucene.misc" ,
133134 List .of (
135+ new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (SHARED_DATA , READ_WRITE ))),
134136 new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (DATA , READ_WRITE ))),
135137 new ReadStoreAttributesEntitlement ()
136138 )
@@ -146,6 +148,7 @@ private static List<Scope> createServerEntitlements(Path pidFile) {
146148 "org.elasticsearch.nativeaccess" ,
147149 List .of (
148150 new LoadNativeLibrariesEntitlement (),
151+ new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (SHARED_DATA , READ_WRITE ))),
149152 new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (DATA , READ_WRITE )))
150153 )
151154 )
You can’t perform that action at this time.
0 commit comments