Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5D134200BB8 for ; Sat, 12 Nov 2016 08:03:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5BB4C160B00; Sat, 12 Nov 2016 07:03:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7D2CC160AF4 for ; Sat, 12 Nov 2016 08:03:01 +0100 (CET) Received: (qmail 47894 invoked by uid 500); 12 Nov 2016 07:03:00 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 47882 invoked by uid 99); 12 Nov 2016 07:03:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Nov 2016 07:03:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 089B71809DD for ; Sat, 12 Nov 2016 07:03:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.18 X-Spam-Level: ** X-Spam-Status: No, score=2.18 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ku4yF4TTU-uq for ; Sat, 12 Nov 2016 07:02:57 +0000 (UTC) Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9FD0C5F1C2 for ; Sat, 12 Nov 2016 07:02:56 +0000 (UTC) Received: by mail-oi0-f46.google.com with SMTP id 128so8054820oih.0 for ; Fri, 11 Nov 2016 23:02:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=tRyyLd5mJglMAJ47dHZj+WuEbxfsI8TOMjHEDg8Ler0=; b=isKBefSabIm0JAHKTJmKlPYJYfvIi2hK0qEKdRJFH8ZARCo/Q5GoGcmhsi3UcxRFmU MlxrekGivamKrRjBxzUm2ZIisy3TvYLVfAISTqUC2jVyiggC0xHol19sz60eVzaAm5kb /ZgEovLshkXibcqlsS6lKel/WE63Bev4mSWQt9WvVxSQicxjGXu+n1drSh2dIC7Zps8W S3xiyH70vLz+98zBR46foPHDRO4XM4oqJ/1lCQUyA6A7H56G6oh+HtcktwSYFzOe/RVL Vui3AxoYkewQCll4QO73qQ+lohYqid8xqRc1eoIdAy/yG/5K/7954PP0qQGUkCVNp4Ku 7SkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=tRyyLd5mJglMAJ47dHZj+WuEbxfsI8TOMjHEDg8Ler0=; b=H/qmkY1yO8RVtUSbKvNmsdQqPsmO7bpplJIXszYDQ/9VjHg6wX5zZbUvrtN6NIWGI8 CdzUngv4Wp77owkgeYATXrZ8NN/pZBPuwHU/02SGA/GRMve7THq5I6rnOsF3h1SlefY0 6BJvKzGVp4/fddhzcjZytj5XZth+vr2RcaDnY/3FRDo0xaTTquuxG/W2goAfeD++k9hP l1CDpYtBdIE1kahjZUBZ6mJhyzlTtQfuoVNJFKnzCh/ZEIIcwOndhDVBi7jJ2/hnbaKe ajoJxzttRCbkvpqHSCBVFM0OeHQsZRaJbIpBPJj+FLKNQLVODCcMO+ON0rmTJCkWTw7l qNEA== X-Gm-Message-State: ABUngvenH3eUAR0Iy/cW9/Jl3lx3eEtkZFzXiUWAmPGGllU3rbTINzORDauy5SqMhocT/QIQlEBVvzAlim7lnw== X-Received: by 10.157.60.174 with SMTP id z43mr2611666otc.178.1478934055302; Fri, 11 Nov 2016 23:00:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.22.188 with HTTP; Fri, 11 Nov 2016 23:00:54 -0800 (PST) In-Reply-To: References: From: Gary Gregory Date: Fri, 11 Nov 2016 23:00:54 -0800 Message-ID: Subject: Re: Editable File Log File Permissions To: Log4J Users List Content-Type: multipart/alternative; boundary=94eb2c18ff38033bf20541152bf6 archived-at: Sat, 12 Nov 2016 07:03:02 -0000 --94eb2c18ff38033bf20541152bf6 Content-Type: text/plain; charset=UTF-8 On Fri, Nov 11, 2016 at 10:47 PM, Demetrios Dimatos wrote: > Our needs don't really go beyond file permissions, setting each Owner, > Group, Other , but I would say if we go this far that we also be able to > set the owner and the group for a file. > > If this is something you have run across before and think it could benefit > with something more than what our needs are, I don't think its a problem, > we are pretty flexible. > I've never needed that. It seems pretty simple to implement. Give it a go :-) Gary > > On Fri, Nov 11, 2016 at 9:43 PM, Gary Gregory > wrote: > > > What do you plan beyond supporting > > https://docs.oracle.com/javase/7/docs/api/java/nio/file/attribute/ > > PosixFilePermission.html > > > > ? > > > > Gary > > > > On Fri, Nov 11, 2016 at 9:24 PM, Demetrios Dimatos > > wrote: > > > > > Will do, needs some more work but looking to see if the community would > > > accept seeing as they rejected a similar proposal long back. Opening a > > JIRA > > > - Question now. Thanks. > > > > > > On Fri, Nov 11, 2016 at 9:13 PM, Gary Gregory > > > wrote: > > > > > > > Oh, and make sure you base your patch on the git master branch. > > > > > > > > Gary > > > > > > > > On Nov 11, 2016 9:12 PM, "Gary Gregory" > > wrote: > > > > > > > > > Ok, cool. > > > > > > > > > > Gary > > > > > > > > > > On Nov 11, 2016 9:10 PM, "Demetrios Dimatos" > > > wrote: > > > > > > > > > >> Hi Gary, > > > > >> We are using Log4j2, I thought to take it to the mail list before > a > > > > >> opening > > > > >> a JIRA. I will open a JIRA for this. > > > > >> Thank you , > > > > >> > > > > >> On Friday, November 11, 2016, Gary Gregory < > garydgregory@gmail.com> > > > > >> wrote: > > > > >> > > > > >> > Which version of Log4j are you using? > > > > >> > > > > > >> > Bugzilla is no longer used and we no longer support adding to > > Log4j > > > 1. > > > > >> > > > > > >> > For Log4j 2 patches and requests, please use Jira. > > > > >> > > > > > >> > Thank you, > > > > >> > Gary > > > > >> > > > > > >> > On Nov 11, 2016 8:18 PM, "Demetrios Dimatos" > > > >> > > wrote: > > > > >> > > > > > >> > > Hello All, > > > > >> > > We would like to hear the communities thoughts on being able > to > > > > >> configure > > > > >> > > the permissions log files are created with. We don't want to > > rely > > > on > > > > >> > UMASK > > > > >> > > because we have managed services who's process should generate > > > logs > > > > >> with > > > > >> > a > > > > >> > > 644 yet deployed applications by users should default to a 640 > > > > because > > > > >> > the > > > > >> > > logs may contain sensitive information. > > > > >> > > > > > > >> > > We are able to make the modification and set this in the > > > properties > > > > >> file. > > > > >> > > Now we are looking to see what the community position would be > > on > > > > >> > accepting > > > > >> > > such a patch, we don't want to be patching our own > distribution. > > > > >> > > > > > > >> > > I searched all the JIRAs and was not able to find any matching > > > > >> > requirements > > > > >> > > recently. All I could find was something dated in 2006: > > > > >> > > https://bz.apache.org/bugzilla/show_bug.cgi?id=40407 > > > > >> > > > > > > >> > > Thank you. > > > > >> > > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > > -- > > E-Mail: garydgregory@gmail.com | ggregory@apache.org > > Java Persistence with Hibernate, Second Edition > > > tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459& > > linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8> > > > > > 1617290459> > > JUnit in Action, Second Edition > > > tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021& > > linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de4 > 18%22 > > > > > > > > 1935182021> > > Spring Batch in Action > > > tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951& > > linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B% > > 7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> > > > 1935182951> > > Blog: http://garygregory.wordpress.com > > Home: http://garygregory.com/ > > Tweet! http://twitter.com/GaryGregory > > > -- E-Mail: garydgregory@gmail.com | ggregory@apache.org Java Persistence with Hibernate, Second Edition JUnit in Action, Second Edition Spring Batch in Action Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory --94eb2c18ff38033bf20541152bf6--