WebFaction
Community site: login faq

I try to install sqlite3 from source by following webfaction guide

http://docs.webfaction.com/software/sqlite.html#sqlite-install-from-source

but when i try to open ~/.bashrc in a text editor, i get

-bash: /home/myusername/.bashrc: Permission denied

might i know how to open it so i can export the path?

Thank.

asked 10 Apr '11, 01:38

devim
1123
accept rate: 0%


Your error message looks like you've been running this from SSH:

~/.bashrc

(i.e. trying to execute your .bashrc file). Assuming you have been doing this, could you try:

vim ~/.bashrc
permanent link

answered 10 Apr '11, 03:34

David L ♦♦
1.4k13
accept rate: 45%

Thank! the vim ~/.bashrc work, i dont know i was trying to execute your .bashrc file.

(10 Apr '11, 07:51) devim

You can always run the export command manually, which will set the proper path for your current SSH session:

export PATH=$HOME/bin/:$PATH

As for editing the .bashrc file - you should have no problems doing this, in general. The error message you are getting suggests that you have some custm permissions on your .bashrc copy that do not allow editing. I'd suggest that you open up a support ticket, so we can look at the exact permissions that you have.

permanent link

answered 10 Apr '11, 02:18

tie
1.4k13
accept rate: 44%

Ok, thx, i will open support ticket later.

(10 Apr '11, 03:31) devim
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×11

question asked: 10 Apr '11, 01:38

question was seen: 12,404 times

last updated: 10 Apr '11, 07:51

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM