Is it safe to change owner of src to root?
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 Code:
-rwxr-xr-x 1 root christian 2057 10月 3 19:28 Allwmake |
Shouldn't be a problem. I have a global installation in
Code:
/opt/openfoam/OpenFOAM-2.2.x Code:
-rwxr-xr-x 1 root root 2057 Feb 18 16:09 Allwmake Code:
-rw-r--r-- 1 root root 11601 Feb 18 16:09 basicThermo.C |
Oh and keep in mind that your files in
Code:
platforms/linux64GccDPOpt/bin/ Code:
-rwxr-xr-x 1 root root 80713 Feb 18 19:06 adiabaticFlameT |
All times are GMT -4. The time now is 05:22. |