CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

problem removing broken 1.6-ext installation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2013, 04:42
Default problem removing broken 1.6-ext installation
  #1
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
hi everyone
i want to delete the openfoam-1.6-ext folder because i could not install it completely
now i can't delete it, in the process of installation i entered the root media by command:
su - and logout
now the openfoam-1.6-ext properties, the permission tab shows that the owner of this folder is root(not me)
how can i change the owner and delete this folder?
thanks a lot
AmirBaqa1987 is offline   Reply With Quote

Old   February 10, 2013, 06:37
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Arjang,

That's one of the reasons why you shouldn't build things directly as root!

I think these steps should work:
  1. Go back into root mode:
    Code:
    su -
  2. Go into the broken folder. For example:
    Code:
    cd /opt
  3. Change ownership of the damaged folder "OpenFOAM-1.6-ext" to your user name... I'll assume its "arjang":
    Code:
    chown -R arjang:arjang OpenFOAM-1.6-ext
    Or, depending on your Linux distribution:
    Code:
    chown -R arjang:users OpenFOAM-1.6-ext
  4. You can now go back into normal user:
    Code:
    exit
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 10, 2013, 14:28
Default appreciation
  #3
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
hi bruno and thanks a lot
for your tips
AmirBaqa1987 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem: Openfoam 2.1 installation from git repo fertinaz OpenFOAM Installation 10 March 2, 2012 11:26
ParaView installation problem on Suse 11.4 victorz OpenFOAM Installation 4 February 6, 2012 17:26
OpenFOAM-2.0.1 installation problem benru OpenFOAM Installation 1 September 14, 2011 09:15
SOLA-VOF and Broken Dam Problem SOLA-VOF and Broken Dam problem Main CFD Forum 6 November 20, 2009 16:27
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 04:07


All times are GMT -4. The time now is 19:54.