David Young created NIFI-15532:
----------------------------------

             Summary: PutFile processor tests fail with certain umask values
                 Key: NIFI-15532
                 URL: https://issues.apache.org/jira/browse/NIFI-15532
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: David Young


If NiFi is built while the current umask value is, in my case at least, 077, 
the group permissions check in the PutFile test suite will fail.

This seems to be because while creating the intermediate directories, the 
current umask is taken into account and the processor does not modify 
permissions on any of the newly created directories.

I've thought of a couple approaches to fix:
 # Remove the group permissions check.
 # Recursively set the requested permissions after the directories are created
 ## Possibly problematic because the permissions value can be sourced from the 
FF attributes, and could potentially mangle permissions needed/requested by 
another FF.
 ## Alternate: provide new processor property to provide folder permissions
 #  Fail the tests with an error message about needing to adjust the umask.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to