{"action":"created","issue":{"url":"https://api.github.com/repos/NLog/NLog/issues/1391","repository_url":"https://api.github.com/repos/NLog/NLog","labels_url":"https://api.github.com/repos/NLog/NLog/issues/1391/labels{/name}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/1391/comments","events_url":"https://api.github.com/repos/NLog/NLog/issues/1391/events","html_url":"https://github.com/NLog/NLog/issues/1391","id":150208911,"number":1391,"title":"Linux log-file permissions","user":{"login":"akusmin","id":13545868,"avatar_url":"https://avatars.githubusercontent.com/u/13545868?v=3","gravatar_id":"","url":"https://api.github.com/users/akusmin","html_url":"https://github.com/akusmin","followers_url":"https://api.github.com/users/akusmin/followers","following_url":"https://api.github.com/users/akusmin/following{/other_user}","gists_url":"https://api.github.com/users/akusmin/gists{/gist_id}","starred_url":"https://api.github.com/users/akusmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akusmin/subscriptions","organizations_url":"https://api.github.com/users/akusmin/orgs","repos_url":"https://api.github.com/users/akusmin/repos","events_url":"https://api.github.com/users/akusmin/events{/privacy}","received_events_url":"https://api.github.com/users/akusmin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NLog/NLog/labels/file-target","name":"file-target","color":"ffffff"},{"url":"https://api.github.com/repos/NLog/NLog/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-21T22:27:51Z","updated_at":"2016-05-14T12:07:58Z","closed_at":null,"body":"Greetings!\r\n\r\nI'm using NLog in CoreClr project. Issue is that log files are creating under permissions only for owner (rwx------). Even if a parent folder has another owner (in this case new log is creating for each record).\r\n\r\nPlease give an advice how can I handle custom permissions for a file.\r\n\r\nNLog version - 4.4.0-alpha1\r\n\r\nSettings for file log are:\r\n```\r\n  <variable name=\"logdir\" value=\"/var/log/processor/\"/>\r\n  <variable name=\"date\" value=\"${date:format=ddHHmmss}\"/>\r\n  <variable name=\"logname\" value=\"processor\"/>\r\n  <targets>\r\n    <target name=\"file\" autoFlush=\"true\" xsi:type=\"File\" fileName=\"${var:logdir:default=./}${var:logname}.log\" archiveDateFormat=\"MMddHHmm\" archiveFileName=\"${var:logdir:default=./}${var:logname}.{####}.log\" \r\n            layout=\"${longdate} ${callsite} ${level}: ${message} ${exception:format=tostring}\"\r\n            archiveAboveSize=\"10485760\" archiveEvery=\"Day\" archiveOldFileOnStartup=\"true\" archiveNumbering=\"DateAndSequence\"/>\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/NLog/NLog/issues/comments/219216860","html_url":"https://github.com/NLog/NLog/issues/1391#issuecomment-219216860","issue_url":"https://api.github.com/repos/NLog/NLog/issues/1391","id":219216860,"user":{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"created_at":"2016-05-14T12:07:58Z","updated_at":"2016-05-14T12:07:58Z","body":"Ps. This should be a different github issue"}}