LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-27-2003, 07:30 PM   #1
flinchumj
LQ Newbie
 
Registered: Feb 2003
Posts: 4

Rep: Reputation: 0
unmounting my usb drive


ok....i guess this is a noob question...

i got my usb drive to hotplug, and it mounts onto my desktop with me as the owner (i used UID=(my uid)), but it wont let me unmount it unless i am root. Are there some other options i can use to unmount the drive without invoking root priviledges. I tried the user,uid, and dev options, but they dont seem to be working. any help is much 'preciated.
 
Old 05-27-2003, 07:37 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Oops... Maybe I should have read your question a bit closer. I suggested adding the user option into the /etc/fstab .

It might have something to do with the automounter. Maybe try disabling it and manually mounting / umounting.

Last edited by ranger_nemo; 05-27-2003 at 07:40 PM.
 
Old 05-28-2003, 12:20 PM   #3
0x4B
Member
 
Registered: May 2003
Location: Nashville TN, USA
Distribution: Debian (I'm unstable)
Posts: 117

Rep: Reputation: 15
you might want to replace user with users. the first lets anyone mount, but the same person has control over the device. the second should let anyone unmount it
(I'm assuming that the automounter is mounting the device as a user different from yours. I'm also assuming its automounting, correct me if not)
 
Old 05-28-2003, 12:58 PM   #4
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
what is the error message when you do a
umount /dev/sda <--- Assuming thumbdrive is an sda
 
Old 05-29-2003, 08:17 AM   #5
flinchumj
LQ Newbie
 
Registered: Feb 2003
Posts: 4

Original Poster
Rep: Reputation: 0
the users option didnt help
when i try unmounting with /dev/sda1, it says 'only root can unmount /dev/sda1..."
 
Old 05-29-2003, 08:28 AM   #6
flinchumj
LQ Newbie
 
Registered: Feb 2003
Posts: 4

Original Poster
Rep: Reputation: 0
ok i changed the order of the options from
rw,dev,exec,uid=500,noauto,users
to
rw,users,dev,exec,uid=500,noauto
and it worked, i read users automatically implies noexec,nosuid,nodev, and so i guess having it at the end of the line canceled out dev....or something like that. but it works! thanx
 
Old 05-29-2003, 10:16 AM   #7
0x4B
Member
 
Registered: May 2003
Location: Nashville TN, USA
Distribution: Debian (I'm unstable)
Posts: 117

Rep: Reputation: 15
I hadn't noticed it earlier, but the man page does say
unless overridden by _subsequent_ options, as in the option line user,exec,dev,suid
stupid linear parsing
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unpluging USB pen drive, after unmounting it, crashes OS vick Linux - Hardware 1 09-12-2005 03:40 PM
Problems mounting/unmounting flash USB drive LordSurvivoR Linux - Hardware 1 07-12-2005 11:19 PM
Need help identifying and mounting/unmounting USB drive. calathar Linux - Newbie 2 05-01-2005 03:50 AM
Unmounting USB Flash drive alanbarnard JDS 2 02-20-2005 11:16 AM
External USB drive mounting/unmounting nsk078 Linux - Hardware 1 09-22-2004 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:20 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
Open Source Consulting | Domain Registration