|
[Sponsors] |
[OpenFOAM.com] How to change OpenFoam installation to root |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 19, 2022, 11:15 |
How to change OpenFoam installation to root
|
#1 |
New Member
JetT
Join Date: Jan 2021
Posts: 4
Rep Power: 5 |
Hi, I am new at Linux/Ubuntu and just realised I couldn't copy the OpenFoam tutorials into my home directory because it has been installed under my user and not root.
Is there a way to change this to root? I have tried 'sudo' and 'chmod' commands to change permissions (I am not familiar with permissions so used the internet for these commands), but they gave similar errors to 'permission denied'. Is there a way to chamge the OpenFoam dir to root? Do I have to re-install? If so, how do I make sure I install under root? Thank you. |
|
November 19, 2022, 11:25 |
Code
|
#2 |
New Member
JetT
Join Date: Jan 2021
Posts: 4
Rep Power: 5 |
To be more precise, this is what I tried:
/usr/lib/openfoam/ I initially tried to copy dir to home by: cp -r /usr/lib/openfoam/ ./ - I get this error: "cp: cannot create directory './openfoam': Permission denied" I tried: chmod -R +x /lib/openfoam/ - no error popped up but when I try to copy directory, I get the same error as earlier. The same happens when I use sudo chown. Please help me! |
|
Tags |
permission, permission denied, root, user |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] Problem installation OpenFOAM 6 | wamars | OpenFOAM Installation | 0 | June 23, 2020 10:01 |
[OpenFOAM.org] Install OpenFOAM 6 on Ubuntu 16.04 without root access | DoQuocVu | OpenFOAM Installation | 1 | December 27, 2019 17:27 |
[OpenFOAM.org] Installation of OpenFOAM 2.3.0 / 2.3.x on RHEL 5.8 without root permissions | niX1337 | OpenFOAM Installation | 7 | January 12, 2015 04:43 |
OpenFoam 2.0.0 installation | Jan_Peters | OpenFOAM Installation | 86 | April 27, 2012 06:32 |
Source Pack Installation OpenFOAM Version 2.1.0 on Redhat Linux | Indrajit | OpenFOAM Installation | 1 | April 1, 2012 05:39 |