Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with USB HD
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
fiore
n00b
n00b


Joined: 08 Aug 2006
Posts: 34

PostPosted: Fri Dec 29, 2006 8:23 am    Post subject: Problem with USB HD Reply with quote

I've successfully mounted my external hd in my $home/Usbdisk directory, but when I try to access it the system tell me that I haven't enougth permission to access the directory...only root can read the disk...
My use ID is also member of usb, root, disk and so...groups.
My HD has a NTFS partition in /dev/sda2 (/dev/sda1 is an ext3 partition)

This is my fstab file:
Code:

# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2      /boot             ext2      noauto,noatime   1 2
/dev/hda4      /             ext3      noatime      0 1
/dev/hda3      none             swap      sw      0 0
/dev/cdroms/cdrom0   /mnt/cdrom          iso9660      noauto,ro   0 0
/dev/sda2               /home/fiore/Usbdisk    auto             auto,users,user 0 0
/dev/hda1               /windows               vfat             auto,user,users 0 0
#/dev/fd0      /mnt/floppy          auto      noauto      0 0

# NOTE: The next line is critical for boot!
proc         /proc      proc      defaults   0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0


Thaks for help!
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Fri Dec 29, 2006 8:29 am    Post subject: Reply with quote

Would a usb disk require you to be in the plugdev group? You might give a shot if you aren't already in that group.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
fiore
n00b
n00b


Joined: 08 Aug 2006
Posts: 34

PostPosted: Fri Dec 29, 2006 9:22 am    Post subject: Reply with quote

I'm meber of:
adm, audio, avhai, bin, cdrom, cdrw, console, ron, daemon, dialout, disk, floppy, haldaemon, kmem, ldap, locate, lp, lpadmin, mail, man ,mem, messagebus, netdev, news, plugdev, portage, root, smmsp, sshd, sys, tape, tty, usb, users, video, wheel.
Back to top
View user's profile Send private message
EdoBvd
n00b
n00b


Joined: 20 Dec 2006
Posts: 5
Location: Dublin

PostPosted: Fri Dec 29, 2006 9:58 am    Post subject: ugum Reply with quote

you can specify uid, gid and umask value in your fstab file :

eg : if your user "fiore" is number 500 and "users" group is 100, you can try :

Code:
/dev/sda2               /home/fiore/Usbdisk    auto             auto,uid=500,gid=100,umask=005,users,user 0 0

_________________
make.profile -> /usr/portage/profiles/default-linux/amd64/2007.0/desktop/
Back to top
View user's profile Send private message
fiore
n00b
n00b


Joined: 08 Aug 2006
Posts: 34

PostPosted: Fri Dec 29, 2006 2:11 pm    Post subject: Reply with quote

thaks, I solved the problem adding the options to the fstab!!!
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