Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 49855 invoked from network); 5 Mar 2010 19:57:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Mar 2010 19:57:05 -0000 Received: (qmail 29796 invoked by uid 500); 5 Mar 2010 19:56:50 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 29780 invoked by uid 500); 5 Mar 2010 19:56:50 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 29772 invoked by uid 99); 5 Mar 2010 19:56:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 19:56:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 19:56:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3E584234C4CF for ; Fri, 5 Mar 2010 19:56:27 +0000 (UTC) Message-ID: <1135976685.104401267818987254.JavaMail.jira@brutus.apache.org> Date: Fri, 5 Mar 2010 19:56:27 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-854) Can't run cassanfra-cli as a role user - getting permission denied In-Reply-To: <1661240646.104181267818027317.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-854: ------------------------------------- Component/s: (was: Core) Tools Priority: Trivial (was: Major) Issue Type: Wish (was: Bug) > Can't run cassanfra-cli as a role user - getting permission denied > ------------------------------------------------------------------ > > Key: CASSANDRA-854 > URL: https://issues.apache.org/jira/browse/CASSANDRA-854 > Project: Cassandra > Issue Type: Wish > Components: Tools > Affects Versions: 0.5 > Environment: centos > Reporter: Michael > Priority: Trivial > > Can't run cassandra-cli as a role user this is what is returning: > [bin]$ ./cassandra-cli --host localhost --port 9160 > Connected to localhost/9160 > Exception in thread "main" java.io.FileNotFoundException: /var/home/app/.cassandra.history (Permission denied) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.(FileOutputStream.java:179) > at java.io.FileOutputStream.(FileOutputStream.java:131) > at java.io.FileWriter.(FileWriter.java:73) > at jline.History.setHistoryFile(History.java:45) > at jline.History.(History.java:37) > at org.apache.cassandra.cli.CliMain.main(CliMain.java:165) > I don't have acess to the roles home dir. Is there a way to specify where to place .cassandra.history? I can run cassandra-cli fine as myself but that is not the prefered way. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.