Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
External usb hard disk problem [UNSOLVED]
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
no_
n00b
n00b


Joined: 08 Aug 2007
Posts: 4

PostPosted: Thu Sep 20, 2007 1:12 pm    Post subject: External usb hard disk problem [UNSOLVED] Reply with quote

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
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 895
Location: Germany

PostPosted: Thu Sep 20, 2007 3:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
no_
n00b
n00b


Joined: 08 Aug 2007
Posts: 4

PostPosted: Fri Sep 21, 2007 7:25 am    Post subject: Reply with quote

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
View user's profile Send private message
noclear2000
Apprentice
Apprentice


Joined: 21 Jun 2006
Posts: 153
Location: Germany

PostPosted: Wed Nov 07, 2007 7:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
lysergicacid
Guru
Guru


Joined: 25 Nov 2003
Posts: 352
Location: The Universe,Virgo Super Cluster,Milky Way,Earth

PostPosted: Tue Dec 04, 2007 10:35 pm    Post subject: Reply with quote

ur running a windows filesystem in a linux system :-\

/etc/fstab
/dev/hda1 /mnt/ntfs ntfs uid=1000,gid=100 0 0
http://www.google.co.uk/search?q=write+to+ntfs+from+linux+guid+uid
when you get the uid and gid right it should let your user read it.
_________________
[img]http://valid.canardpc.com/cache/banner/2040927.png[/img]
Desktop:
[img]http://valid.canardpc.com/cache/banner/2703952.png[/img]
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