# ECE AccessDeniedException

**URL:** <https://discuss.elastic.co/t/ece-accessdeniedexception/149718>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [September 24, 2018, 6:09pm UTC](https://discuss.elastic.co/t/ece-accessdeniedexception/149718 "2018-09-24T18:09:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![slm](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@slm](https://discuss.elastic.co/u/slm)\
**Post date:** [September 24, 2018, 6:09pm UTC](https://discuss.elastic.co/t/ece-accessdeniedexception/149718/1 "2018-09-24T18:09:58Z")

</div>

Running ECE install produces the following log message in Docker before erroring out. Any help resolving this problem is much appreciated.

```
usermod: no changes
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/rc.local...
*** Running setuser founduser /app/elasticsearch.sh...
2018-09-24T12:46:02+0000 Booting at Mon Sep 24 12:46:02 UTC 2018
2018-09-24T12:46:02+0000 Enabling QuotaAwareFileSystemProvider
2018-09-24T12:46:02+0000 First time booting with this image, verifying ephemeral directories are empty
2018-09-24T12:46:02+0000 Adding selected plugin: found-elasticsearch
2018-09-24T12:46:03+0000 Exception in thread "main" java.nio.file.AccessDeniedException: /elasticsearch/plugins/.installing-7426190940094277336
2018-09-24T12:46:03+0000 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
2018-09-24T12:46:03+0000 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
2018-09-24T12:46:03+0000 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
2018-09-24T12:46:03+0000 at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
2018-09-24T12:46:03+0000 at co.elastic.cloud.quotaawarefs.QuotaAwareFileSystemProvider.createDirectory(QuotaAwareFileSystemProvider.java:286)
2018-09-24T12:46:03+0000 at java.nio.file.Files.createDirectory(Files.java:674)
2018-09-24T12:46:03+0000 at java.nio.file.TempFileHelper.create(TempFileHelper.java:136)
2018-09-24T12:46:03+0000 at java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:173)
2018-09-24T12:46:03+0000 at java.nio.file.Files.createTempDirectory(Files.java:950)
2018-09-24T12:46:03+0000 at org.elasticsearch.plugins.InstallPluginCommand.stagingDirectory(InstallPluginCommand.java:475)
2018-09-24T12:46:03+0000 at org.elasticsearch.plugins.InstallPluginCommand.unzip(InstallPluginCommand.java:423)
2018-09-24T12:46:03+0000 at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:217)
2018-09-24T12:46:03+0000 at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:202)
2018-09-24T12:46:03+0000 at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70)
2018-09-24T12:46:03+0000 at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134)
2018-09-24T12:46:03+0000 at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:69)
2018-09-24T12:46:03+0000 at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134)
2018-09-24T12:46:03+0000 at org.elasticsearch.cli.Command.main(Command.java:90)
2018-09-24T12:46:03+0000 at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)
*** setuser exited with status 1.
*** Killing all processes...
```

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [September 24, 2018, 8:51pm UTC](https://discuss.elastic.co/t/ece-accessdeniedexception/149718/2 "2018-09-24T20:51:16Z")

</div>

Interesting, I've never seen this before

My guess would be that either the FS is unsupported, or the permissions in `/mnt/data/docker` and/or `/mnt/data/elastic` are wrong. What user are you running as, what are the permissions/FS etc?

Alex

---

<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:** [October 8, 2018, 8:51pm UTC](https://discuss.elastic.co/t/ece-accessdeniedexception/149718/3 "2018-10-08T20:51:17Z")

</div>

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