You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (Jira)" <ji...@apache.org> on 2020/07/22 18:33:00 UTC

[jira] [Updated] (NIFI-7531) Auto-loading NAR directory does not need RW access

     [ https://issues.apache.org/jira/browse/NIFI-7531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Bende updated NIFI-7531:
------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>            Priority: Major
>             Fix For: 1.12.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> If the auto-load NARs directory has not read+write access, NiFi won't start:
> {code:java}
> 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){code}
> Read only access is enough to this directory.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)