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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17163001#comment-17163001 ] 

ASF subversion and git services commented on NIFI-7531:
-------------------------------------------------------

Commit 7f0b188be45a845cd01c75c3ca0ed7d54d3b6723 in nifi's branch refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=7f0b188 ]

NIFI-7531 - changed RW to RO access requirement on autoload NARs directory


> 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
>          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)