Gentoo Archives: gentoo-user

From: Philip Webb <purslow@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] USB permissions glitch
Date: Mon, 01 Dec 2008 12:10:04
Message-Id: 20081201121000.GA4572@ca.inter.net
In Reply to: Re: [gentoo-user] USB permissions glitch by Justin
1 081201 Justin wrote:
2 > Philip Webb schrieb:
3 >> Something keeps resetting the permission for /mnt/usb to 755 ,
4 >> which prevents me accessing a USB storage stick as user.
5 ///////// sb 'writing'
6 >> My user is in the USB group : 'usb:x:85:haldaemon,purslow';
7 >> in /etc/fstab I have : '/dev/sdb1 /mnt/usb auto noauto,user,umask=000 0 0'
8 >> (I never use > 1 USB device at a time, so this is ok).
9
10 > You can include the mountoption uid= gid= .
11
12 According to 'man mount', they are not available for 'ext2' (only 'fat').
13 I reformat USB sticks to a Linux fs, as 'fat' seems to reduce capacity.
14
15 >> Till last week, it worked as expected
16 >> & there's been no change in Udev rules.
17
18 In any case, that's not what I did to make it work before.
19
20 >> I've made a work-around by amending the Bash alias I use to mount it to
21 >> alias musb='mount /dev/sdb1 /mnt/usb ; chmod 777 /mnt/usb' ,
22 >> which does solve the problem, but is there a more conventional method ?
23
24 Does anyone have any other suggestions (thanks for this one) ?
25
26 --
27 ========================,,============================================
28 SUPPORT ___________//___, Philip Webb
29 ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
30 TRANSIT `-O----------O---' purslowatchassdotutorontodotca

Replies

Subject Author
Re: [gentoo-user] USB permissions glitch Neil Bothwick <neil@××××××××××.uk>