1 |
On 11/20/06, Stephen Liu <satimis@×××××.com> wrote: |
2 |
> Hi Richard, |
3 |
> |
4 |
> Tks for your advice. |
5 |
> |
6 |
> > On 11/20/06, Etaoin Shrdlu <shrdlu@×××××××××××××.org> wrote: |
7 |
> > > On Monday 20 November 2006 17:25, Stephen Liu wrote: |
8 |
> > > > I have a HD mounted on USB enclosure. Please advise how to allow |
9 |
> > > > user=satimis to mount the USB enclosure (USB drive). Tks |
10 |
> > > |
11 |
> > > man mount and look for the "user" or "users" option. If you want |
12 |
> > only |
13 |
> > > that user to mount the devices, look at the "owner" and the "group" |
14 |
> > > options. |
15 |
> > |
16 |
> > Alternatively, add satimis to the group plugdev, and mount using |
17 |
> > pmount. |
18 |
> |
19 |
> |
20 |
> $ cat /etc/group | grep plugdev |
21 |
> plugdev:x:1004:haldaemon,satimis |
22 |
> * end * |
23 |
> |
24 |
> It is there already. |
25 |
> |
26 |
> |
27 |
> $ pmount /dev/sda1 /media/disk |
28 |
> bash: pmount: command not found |
29 |
> * end * |
30 |
> |
31 |
> $ su |
32 |
> Password: |
33 |
> # emerge --search pmount |
34 |
> Searching... |
35 |
> [ Results for search key : pmount ] |
36 |
> [ Applications found : 1 ] |
37 |
> |
38 |
> * sys-apps/pmount |
39 |
> Latest version available: 0.9.9 |
40 |
> Latest version installed: [ Not Installed ] |
41 |
> Size of files: 407 kB |
42 |
> Homepage: http://www.piware.de/projects.shtml |
43 |
> Description: Policy based mounter that gives the ability to |
44 |
> mount removable devices as a user |
45 |
> License: GPL-2 |
46 |
> * end * |
47 |
> |
48 |
> |
49 |
> # emerge install pmount |
50 |
> Calculating dependencies |
51 |
> emerge: there are no ebuilds to satisfy "install". |
52 |
> * end * |
53 |
> |
54 |
> |
55 |
> # emerge install sys-apps/pmount |
56 |
> Calculating dependencies |
57 |
> emerge: there are no ebuilds to satisfy "install". |
58 |
> * end * |
59 |
> |
60 |
> |
61 |
> Can't proceed further. |
62 |
> |
63 |
|
64 |
How about "emerge pmount"? |
65 |
|
66 |
While you're at it: |
67 |
|
68 |
man emerge |
69 |
man portage |
70 |
|
71 |
-- |
72 |
Daniel da Veiga |
73 |
Computer Operator - RS - Brazil |
74 |
-----BEGIN GEEK CODE BLOCK----- |
75 |
Version: 3.1 |
76 |
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- |
77 |
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ |
78 |
------END GEEK CODE BLOCK------ |
79 |
-- |
80 |
gentoo-user@g.o mailing list |