# Unable to Access Path.Repo Eck In K8 Cluster

**URL:** <https://discuss.elastic.co/t/unable-to-access-path-repo-eck-in-k8-cluster/349997>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Tags:** snapshot-and-restore\
**Created:** [December 27, 2023, 5:26am UTC](https://discuss.elastic.co/t/unable-to-access-path-repo-eck-in-k8-cluster/349997 "2023-12-27T05:26:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nauman\_Kyani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nauman_kyani/32/127257_2.png) [@Nauman\_Kyani](https://discuss.elastic.co/u/Nauman_Kyani)\
**Post date:** [December 27, 2023, 5:26am UTC](https://discuss.elastic.co/t/unable-to-access-path-repo-eck-in-k8-cluster/349997/1 "2023-12-27T05:26:10Z")

</div>

Am facing the below issue am want to register the snpshot repo to file share system i have nfs path and configured it right way things are working finw when i update the path then i facing this issue why?

Defaulted container "elasticsearch" out of: elasticsearch, elastic-internal-init-filesystem (init), elastic-internal-suspend (init)  
{"@timestamp":"2023-12-27T05:08:55.712Z", "log.level": "INFO", "message":"Java vector incubator API enabled; uses preferredBitSize=512", "ecs.version": "1.2.0","service.name":"ES\_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.apache.lucene.util.VectorUtilPanamaProvider","elasticsearch.node.name":"elasticsearch-es-data-1","elasticsearch.cluster.name":"elasticsearch"}  
{"@timestamp":"2023-12-27T05:08:55.729Z", "log.level":"ERROR", "message":"fatal exception while booting Elasticsearch", "ecs.version": "1.2.0","service.name":"ES\_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.bootstrap.Elasticsearch","elasticsearch.node.name":"elasticsearch-es-data-1","elasticsearch.cluster.name":"elasticsearch","error.type":"java.lang.IllegalStateException","error.message":"Unable to access 'path.repo' (/usr/share/elasticsearch/snapshots)","error.stack\_trace":"java.lang.IllegalStateException: Unable to access 'path.repo' (/usr/share/elasticsearch/snapshots)\n\tat org.elasticsearch.server@8.9.0/org.elasticsearch.bootstrap.FilePermissionUtils.addDirectoryPath(FilePermissionUtils.java:66)\n\tat org.elasticsearch.server@8.9.0/org.elasticsearch.bootstrap.Security.addFilePermissions(Security.java:252)\n\tat org.elasticsearch.server@8.9.0/org.elasticsearch.bootstrap.Security.createPermissions(Security.java:178)\n\tat org.elasticsearch.server@8.9.0/org.elasticsearch.bootstrap.Security.configure(Security.java:125)\n\tat org.elasticsearch.server@8.9.0/org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:196)\n\tat org.elasticsearch.server@8.9.0/org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:71)\nCaused by: java.nio.file.AccessDeniedException: /usr/share/elasticsearch/snapshots\n\tat java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)\n\tat java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)\n\tat java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)\n\tat java.base/sun.nio.fs.UnixFileSystemProvider.checkAccess(UnixFileSystemProvider.java:355)\n\tat org.elasticsearch.server@8.9.0/org.elasticsearch.bootstrap.Security.ensureDirectoryExists(Security.java:326)\n\tat org.elasticsearch.server@8.9.0/org.elasticsearch.bootstrap.FilePermissionUtils.addDirectoryPath(FilePermissionUtils.java:64)\n\t... 5 more\n"}  
ERROR: Elasticsearch did not exit normally - check the logs at /usr/share/elasticsearch/logs/elasticsearch.log

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 24, 2024, 5:26am UTC](https://discuss.elastic.co/t/unable-to-access-path-repo-eck-in-k8-cluster/349997/2 "2024-01-24T05:26:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
