LinuxQuestions.org
Review your favorite Linux distribution.
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 08-13-2012, 02:31 PM   #1
supernova
LQ Newbie
 
Registered: Feb 2004
Distribution: Redhat 9
Posts: 2

Rep: Reputation: 0
External (USB) hard drive mounting as root


Hi all, I've been having a problem with my external HD. It gets mounted (automatically) with ROOT as the owner. Sometimes I can't save anything to it. How do I mount it with me as the owner?

I tried putting an entry in fstab, but the drive name can change depending on which USB port it is plugged into and what else is plugged in. Is there an easy way to handle all this?

Thanks, Andy
 
Old 08-13-2012, 05:01 PM   #2
cortman
Member
 
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 219

Rep: Reputation: 43
Add it to fstab, but use the UUID of the drive, rather than /dev/sda*. You can find this out by running the following as root:

Code:
blkid
 
1 members found this post helpful.
Old 08-30-2012, 10:01 AM   #3
supernova
LQ Newbie
 
Registered: Feb 2004
Distribution: Redhat 9
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, that worked

Cortman, thank you very much. No more problems.
 
  


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
problems mounting external usb hard drive sja2993 Linux - Newbie 2 07-27-2010 03:16 PM
USB external hard drive mounting problem brokenhalo Red Hat 4 09-26-2008 02:03 PM
mounting external hard drive through usb lackita Linux - Hardware 6 02-26-2008 12:10 AM
USB External Hard Drive not mounting bkone Linux - Hardware 1 10-19-2007 11:45 AM
Mounting root filesystem from an external USB hard drive? ChrisHart Linux - Laptop and Netbook 6 04-02-2005 11:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration