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

problem removing broken 1.6-ext installation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 9, 2013, 05:42
Default problem removing broken 1.6-ext installation
  #1
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 57
Rep Power: 5
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, 07:37
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,556
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 15:28
Default appreciation
  #3
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 57
Rep Power: 5
AmirBaqa1987 is on a distinguished road
hi bruno and thanks a lot
for your tips
AmirBaqa1987 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
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 12:26
ParaView installation problem on Suse 11.4 victorz OpenFOAM Installation 4 February 6, 2012 18: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 17:27
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07


All times are GMT -4. The time now is 22:37.