commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Thiemann (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DAEMON-307) -umask input values and correlating output pid file permissions
Date Thu, 24 Oct 2013 00:19:42 GMT

     [ https://issues.apache.org/jira/browse/DAEMON-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard Thiemann closed DAEMON-307.
-----------------------------------

    Resolution: Cannot Reproduce

Tested  in different fresh environment, wasn't able to reproduce again. Must be an issue specific
to that jsvc environment. 

> -umask input values and correlating output pid file permissions
> ---------------------------------------------------------------
>
>                 Key: DAEMON-307
>                 URL: https://issues.apache.org/jira/browse/DAEMON-307
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Jsvc
>    Affects Versions: 1.0.15
>         Environment: CentOS 6.3 64-bit
>            Reporter: Richard Thiemann
>            Priority: Minor
>
> I'm passing the following input values to the -umask flag in a bourne shell script and
get the following resulting file permissions on the pid file. 
> umask  | file permissions on PID file
>    0011  |  644
>    0002  |  644
>    0022  |  644
>    0003  |  644
>    0033  |  644
>    0004  |  640
>    0005  |  640
>    0055  |  600
>    0006  |  640
>    0072  |  604
>    0073  |  604
> Which I don't believe is the correct output. 
> log messages from adding the -debug flag follow with the according -umask flag value
> -umask 0002 | Switching umask back to 022 from 002
> -umask 0022 | Switching umask back to 022 from 002 
> -umask 0004 | Switching umask back to 022 from 002
> -umask 0072 | Switching umask back to 022 from 072
> -umask 0055 | Switching umask back to 022 from 055
> -umask 0066 | Switching umask back to 022 from 066
> -umask 0077 | Switching umask back to 022 from 077 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message