Gentoo Archives: gentoo-user

From: Andreas Karlsson <hermes@××××.se>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Hal, d-bus, automount, premissions
Date: Fri, 07 Oct 2005 12:36:30
Message-Id: 200510071430.23285.hermes@home.se
1 Hello,
2
3 I am getting quite frustrated over such a simple thing. Now, I have three USB
4 storage devices: a USB flash disk, a mobile phone and a camera. I want those
5 to automount with my users permissions. They now mounts under /media/usbdisk
6 with root permissions. Where on earth do I find the configuration files? I´ve
7 checked /etc/hal, /etc/dbus-1, /etc/udev, /etc/ivman, but no where is there a
8 simple file where I can say "ok, all /dev/sd* will be mounted automatilcy
9 under /media/usbdisk* with gid=users, uid=whatever, umask=0077".
10
11 It drives me nuts. I did search the forums.gentoo.org, but all I found was
12 some unsolved threads. Anyone have any ideas?
13
14 This is what my fstab lookslike with the USB flash disk automounted:
15
16 /dev/sde1 /media/usbdisk ext3
17 user,exec,noauto,noatime,sync,managed 0 0
18
19 and ls -la /media/ gives:
20
21 drwxr-xr-x 3 root root 1024 Jan 7 2005 usbdisk
22
23 and thats my big problem. If I chmod/chown the folder it will not be saved
24 till next time I mount the disk (that´s not suprising).
25
26 Best regards,
27 Andreas Karlsson

Replies

Subject Author
[gentoo-user] Re: Hal, d-bus, automount, premissions Remy Blank <remy.blank_asps@×××××.com>
Re: [gentoo-user] Hal, d-bus, automount, premissions Robert Svoboda <r080@×××××.cz>