# Errno::EACCES: Permission denied - NUL not fixed with enableADS

**URL:** <https://discuss.elastic.co/t/errno-permission-denied-nul-not-fixed-with-enableads/310846>\
**Category:** Logstash\
**Created:** [July 28, 2022, 9:53am UTC](https://discuss.elastic.co/t/errno-permission-denied-nul-not-fixed-with-enableads/310846 "2022-07-28T09:53:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bert\_Van\_der\_Heyden](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bert_van_der_heyden/32/101132_2.png) [@Bert\_Van\_der\_Heyden](https://discuss.elastic.co/u/Bert_Van_der_Heyden)\
**Post date:** [July 28, 2022, 9:53am UTC](https://discuss.elastic.co/t/errno-permission-denied-nul-not-fixed-with-enableads/310846/1 "2022-07-28T09:53:49Z")

</div>

Running logstash (latest version 8.3.2) on Windows gives me:

Errno::EACCES: Permission denied - NUL  
sysopen at org/jruby/RubyIO.java:1237

Found out that this is a known issue and fixed with -Djdk.io.File.enableADS=true, but that does not work for me.  
Any assistance would be helpful.

---

<div class="post-metadata">

**Author:** ![Bert\_Van\_der\_Heyden](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bert_van_der_heyden/32/101132_2.png) [@Bert\_Van\_der\_Heyden](https://discuss.elastic.co/u/Bert_Van_der_Heyden)\
**Post date:** [July 28, 2022, 10:28am UTC](https://discuss.elastic.co/t/errno-permission-denied-nul-not-fixed-with-enableads/310846/2 "2022-07-28T10:28:28Z")

</div>

Looks like logstash-plugin does not even use the jvm.options file. When I rename that file this is the result

```auto
C:\test\logstash-8.3.2>bin\logstash.bat
"Using bundled JDK: C:\test\logstash-8.3.2\jdk\bin\java.exe"
Warning: no jvm.options file found.
Terminate batch job (Y/N)? y

C:\test\logstash-8.3.2>bin\logstash-plugin.bat
"Using bundled JDK: C:\test\logstash-8.3.2\jdk\bin\java.exe"
Usage:
    bin/logstash-plugin [OPTIONS] SUBCOMMAND [ARG] ...

```

It does not complain about the missing jvm.options file.  
Any idea how I could set this enableADS property?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [July 28, 2022, 3:41pm UTC](https://discuss.elastic.co/t/errno-permission-denied-nul-not-fixed-with-enableads/310846/3 "2022-07-28T15:41:53Z")

</div>

> [@Bert\_Van\_der\_Heyden](#):
>
> Any idea how I could set this enableADS property?

See [this](https://discuss.elastic.co/t/unable-to-run-logstash-8-3-1-not-even-to-check-plugins-errno-permission-denied-nul/308871/4) thread. Follow the link to the github issue for additional colour.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [July 31, 2022, 9:03pm UTC](https://discuss.elastic.co/t/errno-permission-denied-nul-not-fixed-with-enableads/310846/4 "2022-07-31T21:03:35Z")

</div>

Note that this was fixed in 8.3.3, which just released.

---

<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:** [August 28, 2022, 9:03pm UTC](https://discuss.elastic.co/t/errno-permission-denied-nul-not-fixed-with-enableads/310846/5 "2022-08-28T21:03:37Z")

</div>

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