Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Usb flash drive not working other than root
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
linuxfreak003
n00b
n00b


Joined: 04 Sep 2006
Posts: 37

PostPosted: Thu Nov 30, 2006 1:33 am    Post subject: Usb flash drive not working other than root Reply with quote

I'm having a problem not being able to write to my usb drive from my user. I can use my usb drive just how I want to from root. but from my user it says something error occured while trying to open or something and doesn't let me do anything. (I have a lexar 1gb jumpdrive, which default names it PUBLIC) so next I went into root and tryed to change the permissions. of /media/PUBLIC but it said I didn't have permission to change the group. and it won't let me set it as read/write for group or others (i check the box(gnome) and it instantly unchecks(sorry i'm kinda a noob at terminal)) and it just gives me an error if i try to change the owner. I was looking at some other forums and it talked about doing some stuff with /etc/fstab but all i have in fstab is /dev/hda1,2,&3 (no windows partition :D ) but i don't have anything like /dev/sda or usb or any of the stuff i suspected would be there. If anyone knows how to fix it plz help.
Back to top
View user's profile Send private message
jlg
Guru
Guru


Joined: 31 May 2002
Posts: 360
Location: Montreal, CANADA

PostPosted: Thu Nov 30, 2006 2:37 am    Post subject: Reply with quote

should be something like that in your fstab:
Code:

/dev/sda1          /media/PUBLIC       msdos    noatime,noauto,user   0 0


then just mount it with the user that you want to be able to read/write to it.
_________________
The only real voyage of discovery consists not in seeking new landscapes, but in having new eyes!
Back to top
View user's profile Send private message
linuxfreak003
n00b
n00b


Joined: 04 Sep 2006
Posts: 37

PostPosted: Thu Nov 30, 2006 4:56 am    Post subject: Reply with quote

Ok this is pretty much what i did
Code:
localhost linuxfreak # nano /etc/fstab

Then i added that line, and got this w/mount
Code:

localhost linuxfreak # mount
/dev/hda3 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hda1 on /boot type ext2 (rw)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
localhost linuxfreak # mount /dev/sda1
mount: mount point /media/PUBLIC does not exist
localhost linuxfreak #

note: when i plugged it in as user it popped up and said "could not mount volume". from the gnome control whatever. (I have it set to automatically mount stuff and open up the folder)
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