LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   usb drives only seen as root (https://www.linuxquestions.org/questions/suse-opensuse-60/usb-drives-only-seen-as-root-362087/)

Mchipser 09-10-2005 11:44 AM

usb drives only seen as root
 
hello,

i am useing suse 9.3 and all my usb drives "flash and hdd" are automatically mounted in /media/usb*" and only root has permisson to those drives can i add users to the permissions?
i tryed editing the fstab for the "usbfs" line here is what it looks like

usbfs /proc/bus/usb usbfs user,ro,umask=002 0 0


the ro, is there cause it is a ntfs drive "dual booting" i will change to fat once i can back up all the data.

i also tryed to change the permissions in /media but still no luck

any thouhgts?

Myk3

1kyle 09-10-2005 12:21 PM

Try THIS
it's a bit of a cludge but it works .

I think part of the problem is that at the time the fstab entries are processed the system hasn't yet reconized your disk as a "valid block device".

This should fix your problem so you can access the devices as a user.

http://www.linuxquestions.org/questi...hreadid=359068

Cheers

-K

abisko00 09-11-2005 06:44 AM

You may need to change the permissions of the mountpoint:
http://portal.suse.com/sdb/en/2005/0...iteaccess.html

1kyle 09-11-2005 07:10 AM

Thanks works great for USB (linux) partitions.


My post above was for problems even SEEING the disk if there were Windows NTFS partitions on it.

Not sure what would happen if you had say 2 Partitions a Windows (NTFS) and a Linux partition.

Cheers

-K

Mchipser 09-12-2005 08:52 PM

it works but
 
ok that worked but can someone explain to me why i can go into my ntfs partion "dual boot" as a user but i cant go into my externals formated as ntfs. it dosent make sense.


Myk3

abisko00 09-13-2005 02:25 AM

The difference is that external drives are mounted through hotplug/subfs and internal through /etc/fstab. The hotplug/subfs scripts creates the mountpoints with insufficient rights (if this is a bug or for a reason, I don't know).

Mchipser 09-13-2005 07:49 AM

ok
 
so can i not use hotplug? when i used slackware i had to manually add a line in the fstab and mount it manually. i tried this and it will mount it until i unplug it. when i plug it back in hotplug wants to re-mount it in the /media/usb* "the * is if i have more than one usb drive in " so i guess my question can i turn off hotplug or edit the permissions in hotplug

Myk3

abisko00 09-13-2005 07:57 AM

Hmm, didn't you say that it works now? Or have the permissions been reset?

But maybe this helps:
http://portal.suse.com/sdb/en/2005/0...untpoints.html


All times are GMT -5. The time now is 06:00 PM.