LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 05: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, 05:14 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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, 05: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, 07:15 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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



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

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

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