CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Bashrc Permission denied

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2009, 18:38
Default Bashrc Permission denied
  #1
Xye
New Member
 
Join Date: Nov 2009
Posts: 7
Rep Power: 16
Xye is on a distinguished road
Hey. Sorry for all these threads i seem to be creating.

Right. So far I have successfully downloaded and compiled OF 1.6.x

The trouble comes when I try to edit the bashrc file.

I have editted it in the terminal using the command

Quote:
sudo nano .bashrc
and saved changes to it before exiting.

as the readme says I have added
Quote:
$HOME/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc
to the very end of the file so there is nothing after it.

This gives me the error when i start the terminal again of:
Quote:
bash: /home/xye/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc: Permission denied
I do not know what to do now.
Xye is offline   Reply With Quote

Old   November 25, 2009, 18:52
Default
  #2
Senior Member
 
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18
Ahmed is on a distinguished road
Quote:
Originally Posted by Xye View Post
Hey. Sorry for all these threads i seem to be creating.

Right. So far I have successfully downloaded and compiled OF 1.6.x

The trouble comes when I try to edit the bashrc file.

I have editted it in the terminal using the command



and saved changes to it before exiting.

as the readme says I have added


to the very end of the file so there is nothing after it.

This gives me the error when i start the terminal again of:


I do not know what to do now.
You forgot the . (the dot space) before your command.
you can make it easier for yourself, by typing
source ...................................../bashrc instead.
Good Luck
Ahmed is offline   Reply With Quote

Old   November 26, 2009, 06:27
Default
  #3
Xye
New Member
 
Join Date: Nov 2009
Posts: 7
Rep Power: 16
Xye is on a distinguished road
Yes! thank you!

was confused for a minute where you mean't to put the . but i put it in the bashrc just to check.
Xye is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.com] erros in Allwmake jiwon OpenFOAM Installation 7 December 30, 2015 13:34
Problem installing OF 1.5 on Ubuntu 9.05 smart OpenFOAM Installation 18 August 10, 2009 20:12
A Problem encountered when source ~/.bashrc, Please. rockymountai OpenFOAM Installation 0 June 22, 2009 18:49
FoamXHostBrowser error while loading shared libraries libFoamXso cannot restore segment prot after reloc Permission denied mdmk OpenFOAM Pre-Processing 0 June 25, 2008 01:50
Central installation and permissions francois OpenFOAM Installation 2 April 3, 2008 09:07


All times are GMT -4. The time now is 02:27.