You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/07/25 19:41:36 UTC

[GitHub] rabbah commented on a change in pull request #3903: Manually create user log files

rabbah commented on a change in pull request #3903: Manually create user log files
URL: https://github.com/apache/incubator-openwhisk/pull/3903#discussion_r205237893
 
 

 ##########
 File path: common/scala/src/main/scala/whisk/core/containerpool/logging/DockerToActivationFileLogStore.scala
 ##########
 @@ -75,6 +85,8 @@ class DockerToActivationFileLogStore(system: ActorSystem, destinationDirectory:
    * once the defined limit is reached.
    */
   val bufferSize = 100.MB
+  val perms = java.util.EnumSet.of(OWNER_READ, OWNER_WRITE, GROUP_READ, GROUP_WRITE, OTHERS_READ, OTHERS_WRITE)
+  val attr = PosixFilePermissions.asFileAttribute(perms)
 
 Review comment:
   Is there a more restrictive set of permissions?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services