View previous topic :: View next topic |
Author |
Message |
no_ n00b
Joined: 08 Aug 2007 Posts: 4
|
Posted: Thu Sep 20, 2007 1:12 pm Post subject: External usb hard disk problem [UNSOLVED] |
|
|
Hi. I have an external Seagate FreeAgent usb hard drive which is giving me trouble. I just can't mount it as a simple user. When root it works absolutely perfect. No problem mounting, no problem with wake up calls or any other problem I have read other people having. In any user account it is being detected by the system and my de which is xfce (xfce even places an icon on the desktop). The problem is that the drive is ntfs formated, thus read only(read only is fine) I just don't know how I could give the simple user permissions to mount a read only file system.
I could go setting ntfs-3g but I don't need writing on the disk. And if I am not mistaken I can add a line like
Code: | #/dev/sda1 /mnt/ ntfs auto,umask=0000,users,utf8=true 0 0 |
in /etc/fstab and that would work but I wanted to see if this external drive could work as easy as it should. Just plug it and use it. Any ideas? Thanx in advance
Last edited by no_ on Sat Sep 22, 2007 1:02 pm; edited 1 time in total |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 895 Location: Germany
|
Posted: Thu Sep 20, 2007 3:47 pm Post subject: |
|
|
Hi!
Try what happens if you change
Code: |
auto,umask=0000,users,utf8=true 0 0
|
to
Code: |
user,umask=0000,users,utf8=true 0 0
|
Worked for my USB-Stick. |
|
Back to top |
|
|
no_ n00b
Joined: 08 Aug 2007 Posts: 4
|
Posted: Fri Sep 21, 2007 7:25 am Post subject: |
|
|
Thanx, but adding that line in fstab is not the problem. Understanding if the simple user can have permissions to mount a read only file system and finaly getting a removable drive to work as it's inteded to do, that is my goal. Simple things should simply work... |
|
Back to top |
|
|
noclear2000 Apprentice
Joined: 21 Jun 2006 Posts: 153 Location: Germany
|
Posted: Wed Nov 07, 2007 7:20 pm Post subject: |
|
|
hi
kernel (usb support) seems to be ok, because it works as root.
just some ideas (not sure what is really vital):
1. is your "ordinary" user member of the "plugdev" group (and group usb (if there is one called usb))? ('groups' to look it up).if not add him to this group(s).
2. is directory /mnt/ readable for the user?
3. if the usb-device is not the only one to be mounted wouldn't it be nice to create a dir called "/mn/usb" or somewhat similar (permissions!)?
4. my fstab (works) "/dev/sda1 /mnt/usb auto noauto,users,exec 0 0"
5. are you sure your exthd is sda and not sd[b-z]{1}? sometimes (especially on mobil pcs some cd/dvd-drives/bluetooth etc. are internally connected via usb)edit: ok, thought about it. obviouslyt it *is* sda, because it works as root there
6. maybe interessting: https://forums.gentoo.org/viewtopic.php?t=113911
7. read about hal (hardware abstraction layer) etc.
http://www.linuxforums.org/forum/gentoo-linux-help/18885-how-automount-cds-usb-devices.html |
|
Back to top |
|
|
lysergicacid Guru
Joined: 25 Nov 2003 Posts: 352 Location: The Universe,Virgo Super Cluster,Milky Way,Earth
|
|
Back to top |
|
|
|