Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA22C186E6 for ; Wed, 9 Dec 2015 19:19:15 +0000 (UTC) Received: (qmail 876 invoked by uid 500); 9 Dec 2015 19:19:11 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 581 invoked by uid 500); 9 Dec 2015 19:19:11 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 416 invoked by uid 99); 9 Dec 2015 19:19:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2015 19:19:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1110B2C1F64 for ; Wed, 9 Dec 2015 19:19:11 +0000 (UTC) Date: Wed, 9 Dec 2015 19:19:11 +0000 (UTC) From: "Michael Shuler (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10833) Debian package does not create default hints directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)