Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB flash problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cyhsieh
n00b
n00b


Joined: 25 Aug 2003
Posts: 19
Location: Detroit, Mi

PostPosted: Mon Jan 16, 2006 2:00 pm    Post subject: USB flash problem Reply with quote

Hi,
Root account can mount my flash drive, but regular users can't do it. Error message shows that mount: must be superuser to use mount.
Below is my /etc/fstab for usb flash. By the way, is this related to coldplug/hotplug? I have put coldplug in the boot.
/dev/sda1 /mnt/usbdrive vfat user,noauto,umask=0 0 0
Thanks for your time
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Mon Jan 16, 2006 2:06 pm    Post subject: Reply with quote

Substitute user by users in the correspondig fstab line.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
cyhsieh
n00b
n00b


Joined: 25 Aug 2003
Posts: 19
Location: Detroit, Mi

PostPosted: Mon Jan 16, 2006 10:41 pm    Post subject: Reply with quote

It doesn't work to put users instead of user in /etc/fstab. Any suggestion.
Back to top
View user's profile Send private message
Pandor
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2005
Posts: 128
Location: Belgium

PostPosted: Mon Jan 16, 2006 11:25 pm    Post subject: Reply with quote

What command did you try, to mount the usbdrive?
"mount /dev/sda1" ?
Back to top
View user's profile Send private message
cyhsieh
n00b
n00b


Joined: 25 Aug 2003
Posts: 19
Location: Detroit, Mi

PostPosted: Tue Jan 17, 2006 12:52 am    Post subject: Reply with quote

What command did you try, to mount the usbdrive?
"mount /dev/sda1" ?
mount /mnt/usbdrive but the error message showed that mount: must be superuser to use mount.
This command works in superuser, not regular user.
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Tue Jan 17, 2006 8:37 am    Post subject: Reply with quote

cyhsieh wrote:
What command did you try, to mount the usbdrive?
"mount /dev/sda1" ?
mount /mnt/usbdrive but the error message showed that mount: must be superuser to use mount.
This command works in superuser, not regular user.


check the /mnt/usbdrive permissions :roll:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum