LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-16-2003, 06:08 PM   #1
Patroni
LQ Newbie
 
Registered: Nov 2003
Location: Kidderminster, UK
Distribution: Mandrake
Posts: 3

Rep: Reputation: 0
Can't unmount usb pen unless root but plugged it in as user


As the title says, I can't unmount or write to a usb pen unless root but I plugged it in as a user. Can this be right? Surely if I plug the thing in while logged in as a normal user it's got nothing to with root. This just seems daft to me and is very irritating.

I'm running Mandrake 9.2 and so far this is the only thing that doesnít work.
 
Old 11-16-2003, 06:14 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
The problem here might be that the daemon that
actually does the mounting isn't you. To be able
to use my cam (unmounting it as user, too) I did
Code:
/dev/sda1       /mnt/cam msdos umask=000,user,users,rw  0       0
in /etc/fstab

The bits that might be interesting for you
is "umask=000,user,users,rw" for the options.


Cheers,
Tink
 
Old 11-16-2003, 06:30 PM   #3
Patroni
LQ Newbie
 
Registered: Nov 2003
Location: Kidderminster, UK
Distribution: Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
I think I see what you mean.

Iíve been playing with it and found out and tried the unmask=000 bit. Iíll try adding the user,users,rw bit. Iíd never heard of fstab before tonight this is all very new to me.

Still it seems a shame I have to edit a text file to get something to work when everything else went so smoothly. Printer, scanner and TV card all working properly. My Windows install didnít do that!

Thanks for the fast reply as well, much appreciated.
 
Old 11-16-2003, 08:15 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by Patroni
I think I see what you mean.

Iíve been playing with it and found out and tried the unmask=000 bit. Iíll try adding the user,users,rw bit. Iíd never heard of fstab before tonight this is all very new to me.

Still it seems a shame I have to edit a text file to get something to work when everything else went so smoothly. Printer, scanner and TV card all working properly. My Windows install didnít do that!

Thanks for the fast reply as well, much appreciated.
No worries mate ... and as for the "hard-ship", you'll
hopefully get used to it ... I actually LOVE it :}

Full control over what's going on.

Cheers,
Tink
 
  


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
USB Mouse only works when plugged into USB PCI Card helliax Slackware 6 12-05-2005 02:18 AM
how to know a usb device is plugged in/out lordofring Linux - Software 2 04-25-2005 02:15 PM
Unable to access Konqueror with USB drive plugged in user mode richdux Mandriva 3 03-10-2005 08:27 PM
usb pen drive - only root can write? BrianK Linux - Newbie 3 01-29-2004 01:50 AM
need an idea on detecting USB pen present in user program captainstorm Programming 4 11-26-2003 08:40 AM


All times are GMT -5. The time now is 08:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration