LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-10-2005, 11:44 AM   #1
Mchipser
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 09-10-2005, 12:21 PM   #2
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
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
 
Old 09-11-2005, 06:44 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
You may need to change the permissions of the mountpoint:
http://portal.suse.com/sdb/en/2005/0...iteaccess.html
 
Old 09-11-2005, 07:10 AM   #4
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
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
 
Old 09-12-2005, 08:52 PM   #5
Mchipser
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 09-13-2005, 02:25 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
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).
 
Old 09-13-2005, 07:49 AM   #7
Mchipser
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 09-13-2005, 07:57 AM   #8
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Any problems with USB-port PCMCIA cards and USB Floppy Drives? DreameR-X Linux - Laptop and Netbook 9 05-14-2005 01:37 PM
udev, USB Flash Drives, and usb-mount talkingwires Debian 13 11-07-2004 12:15 PM
Give user permission to mount/use cdrom drives or usb drives zwyrbla Linux - Newbie 2 08-23-2004 04:30 PM
how do i keep from having to su to root to mount drives? yimboli Linux - Newbie 1 02-08-2004 06:22 PM
using drives as a user, not root Triple-B Slackware 1 02-11-2003 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:06 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