Currently the read-filesystem value for RequiredPermission is used for both the processors which read directly from the local file system of the machine hosting NiFi (GetFile, ListFile, etc.) and the processors which read from external file systems like HDFS (GetHDFS, PutHDFS, etc.). There are use cases where NiFi users should be able to interact with the HDFS file system without having permissions to access the local file system.
This will also require introducing a global setting in nifi.properties that an admin can set to allow local file system access via the HDFS processors (default true for backward compatibility), and additional validation logic in the HDFS processors (ideally the abstract shared logic) to ensure that if this setting is disabled, the HDFS processors are not accessing the local file system via the file:/// protocol in their configuration.
|Add global property for LFS access from HDFS processors||Resolved||