|
[Sponsors] |
June 3, 2007, 15:25 |
Hello,
When I try to source
|
#1 |
New Member
anonymous
Join Date: Mar 2009
Posts: 1
Rep Power: 0 |
Hello,
When I try to source the following error occurs..(Note I am logged in as root) box:/home # . .bashrc bash:/home/OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4/bashrc: Permission denied Could someone please help me resolve this issue? Thanks in advance S. |
|
June 3, 2007, 15:55 |
Hi S,
are you trying to do a
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hi S,
are you trying to do a multi-user installation? If so, follow these hints http://www.mfix.org/mwiki/index.php/Organise_Your_Work_with_OpenFOAM#Working_Wit h_Central_Installation If not, put the OpenFOAM directory in /home/your_user_name. P.S. For your security, don't run anything as root, if not strictly necessary :-) Regards, Alberto
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
December 3, 2007, 09:08 |
Hi everybody,
I recieve the
|
#3 |
New Member
Geurts Koen
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
Hi everybody,
I recieve the same error: /home/koen/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc: Permission denied I installed it as a single user in /home/koen/ and I will only run it from this user account... ...but I used the su to install OpenFOAM in this users directory. Could this be the cause of the error? (I am using OpenSuse 10.3) I hope somebody can help me. Greetzzz, Koen... |
|
December 3, 2007, 09:52 |
To be sure, I just removed the
|
#4 |
New Member
Geurts Koen
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
To be sure, I just removed the entire OpenFOAM directory and re-downloaded all files and re-installed it from scratch, now as the user and not superuser.
It still results in the same error: bash: /home/koen/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc: Permission denied So know I am realy counting on this forum to help me overcome this problem. Koen... |
|
December 3, 2007, 10:38 |
Don't try to execute the scrip
|
#5 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Don't try to execute the script, but "source" it:
source /home/koen/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc Takuya |
|
December 3, 2007, 10:42 |
I am running on OpenSUSE 10.3
|
#6 |
New Member
Dominique Turmel
Join Date: Mar 2009
Location: Québec, Québec, Canada
Posts: 19
Rep Power: 17 |
I am running on OpenSUSE 10.3 and my .bashrc is the following (username = openfoam), and everything is working fine
. /home/openfoam/OpenFOAM/OpenFOAM-1.4.1-dev/.OpenFOAM-1.4.1-dev/bashrc export WM_64=on |
|
December 3, 2007, 10:44 |
Hi Koen,
First you should see
|
#7 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Hi Koen,
First you should see what are the prermisions on that file. For that type: ls -l /home/koen/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc id The first command should give you, among other things, the permissions set on that file. In my case it reads as following: -rw-r----- 1 dragosm fsd 7257 2007-10-03 14:15 OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc The second command, will show you the user/group that you actually are logged as. In my case is: uid=525(dragosm) gid=501(fsd) groups=501(fsd),801(educ),802(ext) If you fill this is too slow, just mail me on private. By the way, I have a full instalation of OpenFOAM 1.4.1 that works perfect on OpenSUSE 10.3. Dragos |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMD 64 bit installation | maka | OpenFOAM Installation | 7 | January 11, 2009 11:42 |
Regarding installation | vidyaprakash | Siemens | 0 | December 22, 2006 00:03 |
installation | mohammad | FLUENT | 0 | May 4, 2003 11:15 |
NT 4.0 installation | peter.liang | Siemens | 2 | July 4, 2001 13:52 |
HP-UX installation | new here | FLUENT | 1 | October 26, 2000 22:54 |