|
[Sponsors] |
February 20, 2014, 02:40 |
Is it safe to change owner of src to root?
|
#1 |
Member
Christian Butcher
Join Date: Jul 2013
Location: Japan
Posts: 85
Rep Power: 12 |
So essentially I have myself a nice working copy of OF-2.2.2
I'm writing my own applications and libraries in my OpenFOAM/user-2.2.2/... directories, and all is well. I'm referring to the original source files in OpenFOAM/OpenFOAM-2.2.2/src/... directories. My question is, whilst I have these open in an editor to refer to, sometimes I make changes to the original /src files, which I don't want to do, and accidentally save them. Usually I notice, undo the changes, and save them again, but I'm worried I might change the source files, save them, and not notice. Now until I wmake in the src directories, this won't change my installation (right?) and so shouldn't matter, but it does mean that I might later be referring to source files which are not as they originally were. Is it safe to type Code:
cd src sudo chown -R root * Code:
-rwxr-xr-x 1 root christian 2057 10月 3 19:28 Allwmake drwxr-xr-x 13 root christian 4096 11月 20 15:32 combustionModels drwxr-xr-x 9 root christian 4096 11月 20 15:25 conversion drwxr-xr-x 6 root christian 4096 10月 3 19:28 dummyThirdParty drwxr-xr-x 11 root christian 4096 11月 20 15:26 dynamicFvMesh drwxr-xr-x 22 root christian 4096 11月 20 15:25 dynamicMesh ... |
|
Tags |
chown src |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ANSYS Workbench on "Uncertified" Linux Distros | hsr | CFX | 289 | April 20, 2023 09:23 |
How to change turbulence model in InterFoam | Gildeh | OpenFOAM Running, Solving & CFD | 4 | March 28, 2012 12:04 |
Change cell zone index/thread during simulation | neilduffy1024 | FLUENT | 0 | January 17, 2011 09:40 |
no enthalpy change across the momentum source | Atit Koonsrisuk | CFX | 2 | December 19, 2005 02:33 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 05:12 |