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

Michael Shuler commented on CASSANDRA-10833:
--------------------------------------------

The deb postinst does a {{chown -R cassandra: /var/lib/cassandra}} - where are 
you seeing that root owns it?

https://github.com/apache/cassandra/blob/cassandra-3.0/debian/cassandra.postinst#L38

We don't create any other directories under /var/lib/cassandra - cassandra 
creates the data dirs, etc. on its own for everything else, so I'm curious why 
you think the {hints} dir is your only issue?

https://github.com/apache/cassandra/blob/cassandra-3.0/debian/dirs#L6

> Debian package does not create default hints directory
> ------------------------------------------------------
>
>                 Key: CASSANDRA-10833
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10833
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Stuart Bishop
>            Assignee: Michael Shuler
>            Priority: Minor
>
> The default hints directory is set to /var/lib/cassandra/hints, but this 
> directory is not created when the Debian package is installed. As 
> /var/lib/cassandra is owned by root, it cannot be created automatically on 
> startup and startup fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to