You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nick Bailey (JIRA)" <ji...@apache.org> on 2012/09/04 22:05:07 UTC

[jira] [Commented] (CASSANDRA-4591) Pass -umask option to jsvc

    [ https://issues.apache.org/jira/browse/CASSANDRA-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448005#comment-13448005 ] 

Nick Bailey commented on CASSANDRA-4591:
----------------------------------------

Looks like the -umask option is only available in jsvc 1.0.8 which is too new to be available on all the debian style platforms we probably want to support.

Not sure if there is another solution we could come up with here.
                
> Pass -umask option to jsvc
> --------------------------
>
>                 Key: CASSANDRA-4591
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4591
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Packaging
>    Affects Versions: 1.1.4
>            Reporter: Nick Bailey
>            Assignee: Nick Bailey
>            Priority: Minor
>             Fix For: 1.1.5, 1.2.0
>
>
> Currently jsvc defaults to a very restrictive umask. This makes it hard for external tools to work with cassandra data files (snapshots). It would be useful to pass in a -umask option to jsvc with slightly less restrictive permissions (just adding group read permissions).
> It should just be passing 'umask 0037' (u=rwx,g=r,o=), in the debian init script.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira