Pierre Villard created NIFI-7531:
------------------------------------
Summary: Auto-loading NAR directory does not need RW access
Key: NIFI-7531
URL: https://issues.apache.org/jira/browse/NIFI-7531
Project: Apache NiFi
Issue Type: Improvement
Components: Core Framework
Reporter: Pierre Villard
Assignee: Pierre Villard
If the auto-load NARs directory has not read+write access, NiFi won't start:
java.io.IOException: /tmp/nifi-extensions directory does not have read/write
privilege
at
org.apache.nifi.util.FileUtils.ensureDirectoryExistAndCanReadAndWrite(FileUtils.java:51)
at org.apache.nifi.nar.NarAutoLoader.start(NarAutoLoader.java:56)
at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1051)
at org.apache.nifi.NiFi.<init>(NiFi.java:158)
at org.apache.nifi.NiFi.<init>(NiFi.java:72)
at org.apache.nifi.NiFi.main(NiFi.java:301)
Read only access is enough to this directory.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)