LinuxQuestions.org
Help answer threads with 0 replies.
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 01-21-2006, 06:54 PM   #1
mr_coffee
Member
 
Registered: Jan 2006
Location: PA
Distribution: Mandriva Power Pack 2006
Posts: 146

Rep: Reputation: 15
how can i move this folder of music from /root/Shared to /home/coffee/Shared ? thx


Hello everyone. I used limewire to download some music files they said they were in /root/Shared but i can't get to them unless i'm in command line, when i su to superuser. is there a way for me to move that folder to /home/coffee/Shared
with command line? Thank you!
 
Old 01-21-2006, 06:57 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Read 'man mv' and while your at it 'man chown' minus the single quotemakes.
 
Old 01-21-2006, 07:56 PM   #3
mr_coffee
Member
 
Registered: Jan 2006
Location: PA
Distribution: Mandriva Power Pack 2006
Posts: 146

Original Poster
Rep: Reputation: 15
tahnks! it worked i just used:
[root@x1-6-00-50-8d-d1-c1-97 coffee]# mv /root/Shared /home/coffee/Shared

didn't need the chown
 
Old 01-21-2006, 08:12 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
I hope you're not using the root account for your normal computer activities. You should have a normal user account for everyday stuff. root is only used for installing software, configuring the system, etc.
 
Old 01-21-2006, 10:49 PM   #5
mr_coffee
Member
 
Registered: Jan 2006
Location: PA
Distribution: Mandriva Power Pack 2006
Posts: 146

Original Poster
Rep: Reputation: 15
stress, i don't, i use a normal user named coffee, i then su to root to do stuff, like access locked paritions like /root, thats why i had to su to root to move those files.
 
Old 01-22-2006, 04:01 AM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Mr. Coffee: Those files would never have ended up in /root/Shared unless you had been running limewire as root. This is because the /root directory has permissions of rwx------, which means only root can access/write to it. Stress_junkie is right - be very careful about what you do as root!
 
Old 01-22-2006, 05:14 AM   #7
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Quote:
Originally Posted by mr_coffee
stress, i don't, i use a normal user named coffee, i then su to root to do stuff, like access locked paritions like /root, thats why i had to su to root to move those files.
I thought that you must have run limewire as root. I'm glad that you usually use a normal account. I couldn't reconcile where you said you use su to get to the files, which showed that you use a normal account, with the fact that the files ended up under the root login directory, indicating that you had run limewire as root (as tredegar pointed out). I figured that maybe when limewire was installed only root could run it. That can happen when permissions are set incorrectly on an application's files.

Have fun.
 
Old 01-22-2006, 06:50 PM   #8
mr_coffee
Member
 
Registered: Jan 2006
Location: PA
Distribution: Mandriva Power Pack 2006
Posts: 146

Original Poster
Rep: Reputation: 15
ohhh i had no idea...See i thought u had to be root to install new programs and moidfy the system. Like if i try to change a .configure file, i have to always su to root before saving the file, such as a file that is in /etc parition. So when i install somthing like a ./configure like i did with limewire, i thought i had to be as root to install. No wonder those files got thrown into that /root directory i had no idea, lol i wonder how many other programs are in there Thanks for the tip guys.
 
Old 01-22-2006, 09:35 PM   #9
tmillard
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 74

Rep: Reputation: 15
If you do the same types of things as root, you could set up sudo.

http://www.courtesan.com/sudo/
 
Old 01-23-2006, 07:50 AM   #10
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
You only need to be root to do the 'make install' - everything else can be done as a user.
 
  


Reply


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
shared pear folder ciscohead Linux - Software 0 07-25-2005 11:42 AM
shared folder varun_saa Mandriva 1 06-07-2005 02:42 AM
Writing to a shared home folder confused_bof Linux - Networking 5 05-18-2004 07:50 AM
deleting a shared folder aymbpc Linux - Newbie 3 09-23-2003 07:01 PM
How do I make a shared folder under RH? Da_Quest Linux - Networking 18 08-20-2003 09:25 PM


All times are GMT -5. The time now is 11:05 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