[
https://issues.apache.org/jira/browse/CHUKWA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerome Boulon updated CHUKWA-160:
---------------------------------
Description:
use log4j to set permission to the log file, ex:
log4j.appender.CHUKWA.readPermission=
* readPermission field not present in log4j, don't do anything, file
permission will use the default
* readPermission field set to "All"
* readPermission field set to "Group"
* readPermission field set to "Owner only"
* writePermission field not present in log4j, don't do anything, file
permission will use the default
* writePermission field set to "All"
* writePermission field set to "Group"
* writePermission field set to "Owner only"
However, it seems not possible to set permission at the group level so this may
be a potential issue that may force us to
continue using chmod for specific case.
was:
use log4j to set permission to the log file, ex:
log4j.appender.CHUKWA.readPermission=
* readPermission field not present in log4j, don't do anything, file
permission will use the default
* readPermission field set to "All" then setReadable(true, false) otherwise
setReadable(true, true)
* readPermission field set to "Group"
* writePermission field not present in log4j, don't do anything, file
permission will use the default
* writePermission field set to "All" then setWritable(true, false)
otherwise setReadable(true, true)
* writePermission field set to Group"
However, it seems not possible to set permission at the group level so this may
be a potential issue that may force us to
continue using chmod for specific case.
> use log4j to set permission to the log file
> -------------------------------------------
>
> Key: CHUKWA-160
> URL: https://issues.apache.org/jira/browse/CHUKWA-160
> Project: Hadoop Chukwa
> Issue Type: Improvement
> Components: input tools
> Reporter: Jerome Boulon
>
> use log4j to set permission to the log file, ex:
> log4j.appender.CHUKWA.readPermission=
> * readPermission field not present in log4j, don't do anything, file
> permission will use the default
> * readPermission field set to "All"
> * readPermission field set to "Group"
> * readPermission field set to "Owner only"
> * writePermission field not present in log4j, don't do anything, file
> permission will use the default
> * writePermission field set to "All"
> * writePermission field set to "Group"
> * writePermission field set to "Owner only"
> However, it seems not possible to set permission at the group level so this
> may be a potential issue that may force us to
> continue using chmod for specific case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.