Description
As part of NIFI-1500 we noted that NiFi requires what can be described as excessive filesystem privileges to be executed.
One of the issues identified is that NiFi requires write access to NIFI_HOME/lib as illustrated by the following:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarUnpacker.java for (Path narLibraryDir : narLibraryDirs) { File narDir = narLibraryDir.toFile(); FileUtils.ensureDirectoryExistAndCanAccess(narDir); File[] dirFiles = narDir.listFiles(NAR_FILTER); if (dirFiles != null) { List<File> fileList = Arrays.asList(dirFiles); narFiles.addAll(fileList); } }
Attachments
Issue Links
- relates to
-
NIFI-1500 NiFi requires too much write permissions to bootstrap
- Open
- links to