|
[Sponsors] |
February 9, 2013, 16:05 |
problem in deleting a foder
|
#1 |
Member
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13 |
hi everyone
i want to delete folder of openfoam-1.6-ext, but i can not do this because the permission tab of properties of this folder shows that, the owner of this folder is root and i have do not permission to delete it. how can i change the owner of this folder from root to myself and delete this folder? please help & thanks a lot arjang Last edited by AmirBaqa1987; February 9, 2013 at 17:08. |
|
February 9, 2013, 17:41 |
change the owner of folder
|
#2 |
Member
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13 |
I found the answer accidentally.
we should use the below command: chown -hR [new owner name] [name or path of the folder] like : chown -hR amir /home/amir/OpenFOAM/OpenFOAM-1.6-ext ****pay attention that you must type above command in root user at terminal, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] engineFoam new mesh problem | ayhan515 | OpenFOAM Meshing & Mesh Conversion | 5 | August 10, 2015 08:45 |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 05:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |