Github user alopresto commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2841#discussion_r200708592
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarUnpacker.java
 ---
    @@ -264,7 +263,7 @@ private static void unpack(final File nar, final File 
workingDirectory, final by
                     String name = jarEntry.getName();
                     File f = new File(workingDirectory, name);
                     if (jarEntry.isDirectory()) {
    -                    FileUtils.ensureDirectoryExistAndCanAccess(f);
    +                    FileUtils.ensureDirectoryExistAndCanReadAndWrite(f);
    --- End diff --
    
    The deprecated method was one line simply calling the method with which I 
replaced it. There is no behavioral change. I imagine the original fix changed 
behavior but did not update all calling references. 


---

Reply via email to