LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-30-2010, 11:32 PM   #1
Levi Gruber
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
remove root files from my home folder


i tried to run lame install. on debian lenny amd64.

sudo sh /home/levi/Desktop/lame-3.98.4/install.sh

it returned errors, and i gave up on that. but it has placed a bunch of files and directories in my home folder(not in Desktop)which are owned by root. how may i delete them?
folders are
ACM
debian
Dll
doc
dshow
frontend
include
libmp3lame
mac
macosx
misc
mpglib
vc_solution

files are
config.h
config.log
config.status
kk
kp
lame.spec
libtool
#this has icon like a .sh file
makefile
sources.list
stamp-h1

this is wigging me out

i tried

sudo mv /home/levi/macosx/ /trash/macosx/

and

sudo mv /home/levi/macosx /trash/macosx

but both say the same

mv: cannot move ..... to ... No such file or directory. which i at least FEEL is certainly not the case. am i wrong? what's going on?
 
Old 03-31-2010, 12:36 AM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Code:
/home/username? su
Password:
/home/you# rm -rf /path/to/files/or/directories/in/question
/home/you# ls -la
 
Old 03-31-2010, 01:00 AM   #3
orangesky
Member
 
Registered: Jun 2009
Posts: 87

Rep: Reputation: 17
log in as root, use su, enter password
cd to directory, /home/person

rm -rf /path/

don't use asterisk to complete with rm -rf, that's just asking for trouble
 
Old 04-01-2010, 10:39 AM   #4
Levi Gruber
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Lightbulb omg now u tell me

no worries. i finally ended up reinstalling. most of the time i put into configuring my video card i saved anyway. i finally figured out the syntax for chmod and finished screwing it up. out of the gui. did cd to my home folder, and had not read the wild card warning (who knows whether i would have heeded anyway) and tried to make myself the owner of EVERYTHING. when chmod did not recursively change the directories i wanted removed, i thought 'it ignores directories' and thought, silly me, that the symbol for root would be the symbol for 'a' directory. stopped it when i saw it changing owner of /usr.... to me, but the damage was done. afterwards the system booted, but would not accept password in order to change the permissions back. who knows how complex the structure of the permissions are on a single user system. i didn't lose any data. hopefully i learned my lesson, but i'm pretty slow. C'est La Vie
 
  


Reply

Tags
delete, protected, root


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with `find -exec` : Remove selected files from a backup folder bobkatz Linux - Server 12 01-29-2010 11:29 AM
Mandriva 2009 home/root folder access Adriann Mandriva 3 03-23-2009 04:05 AM
Don't know what to do with files in home folder after installation etrece Linux - Newbie 2 10-12-2007 03:32 PM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 06:23 PM
Remove Home folder from desktop? ceh383 Slackware 3 06-05-2003 01:18 PM


All times are GMT -5. The time now is 01:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration