LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   USB problems still (https://www.linuxquestions.org/questions/linux-newbie-8/usb-problems-still-278917/)

chansen0421 01-17-2005 12:38 PM

USB problems still
 
I was able to get my linux to recognize and mount my usb stick under root
then when I log in under my account and try to mount the stick I get the message:

mount: only root can mount /dev/sda1 on /mnt/usbstick

any help or explaination would be great.

foo_bar_foo 01-17-2005 12:47 PM

Quote:

only root can mount /dev/sda1 on /mnt/usbstick
sometimes the kernel developers decide only root should be able to do stuff that
messes with hardware like mount and dismount

chansen0421 01-21-2005 06:28 PM

is there any way to get around this setting???

Vlad-A 01-21-2005 10:58 PM

Chansen,
how does look your /etc/fstab ?

chansen0421 01-22-2005 06:06 PM

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hdc3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/sda1 /mnt/usbstick vfat noauto,owner,rw 0 0 0


that is how my /etc/fstab looks

Brian1 01-22-2005 06:27 PM

Try this

/dev/sda1 /mnt/usbstick vfat umask=000,users,noauto,owner,rw,sync,dirsync 0 0

Brian1
" Google the Linux way @ http://www.google.com/linux "

chansen0421 01-22-2005 07:48 PM

Brian1,
Thank you so much
it works like a charm.

thanks


All times are GMT -5. The time now is 09:25 PM.