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

    https://github.com/apache/nifi-minifi/pull/59#discussion_r90112258
  
    --- Diff: 
minifi-bootstrap/src/main/java/org/apache/nifi/minifi/bootstrap/RunMiNiFi.java 
---
    @@ -357,8 +387,10 @@ private synchronized void saveProperties(final 
Properties nifiProps, final Logge
     
             try {
                 final Set<PosixFilePermission> perms = new HashSet<>();
    -            perms.add(PosixFilePermission.OWNER_READ);
                 perms.add(PosixFilePermission.OWNER_WRITE);
    +            perms.add(PosixFilePermission.OWNER_READ);
    +            perms.add(PosixFilePermission.GROUP_READ);
    +            perms.add(PosixFilePermission.OTHERS_READ);
    --- End diff --
    
    @JPercivall maybe not relevant in MiNiFi context but when I see "others" 
getting permissions I always wonder why it's necessary and if any sensitive 
data can leak.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to