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/08/30 23:00:08 UTC

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

Nick Bailey created CASSANDRA-4591:
--------------------------------------

             Summary: 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
            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

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

Posted by "Nick Bailey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445292#comment-13445292 ] 

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

Correction, should be 0027, which gives group execute permissions, since directories can't be read without them.
                
> 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
>            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

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

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-4591:
----------------------------------------

    Reviewer: brandon.williams
    Assignee: Nick Bailey
    
> 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

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

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-4591:
----------------------------------------

    Fix Version/s:     (was: 1.1.7)
    
> 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
>
> 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

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

Posted by "Nick Bailey (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams resolved CASSANDRA-4591.
-----------------------------------------

    Resolution: Later

Maybe we can pick this back up when most platforms will have a compatible version.
                
> 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.7
>
>
> 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