Gentoo Archives: gentoo-user

From: Stephen Liu <satimis@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to allow user to mount USB enclosure (SOLVED)
Date: Tue, 21 Nov 2006 08:09:23
Message-Id: 149429.6329.qm@web35212.mail.mud.yahoo.com
In Reply to: Re: [gentoo-user] How to allow user to mount USB enclosure by Richard Fish
1 Hi Richard,
2
3 > On 11/20/06, Stephen Liu <satimis@×××××.com> wrote:
4 > > # chmod -c 775 -R /media/sda1/
5 > > mode of `/media/sda1/' changed to 0775 (rwxrwxr-x)
6 >
7 > So you made the filesystem root group writable...but what group is it
8 > in? (ls -ld /media/sda1/.) Perhaps you missed a chgrp?
9
10 After running;
11 # chown satimis:satimie -R /media/sda1
12
13 Then cp file as User works.
14
15 $ cp Working_20061120.tar.bz2 /media/sda1/
16 $ ls -al /media/sda1/
17 total 50680
18 drwxrwxr-x 2 satimis satimis 4096 Nov 21 23:57 .
19 drwxr-xr-x 6 root root 4096 Nov 21 19:16 ..
20 -rwxrwxr-x 1 satimis satimis 0 Nov 21 19:07 .created_by_pmount
21 -rw-r--r-- 1 satimis satimis 51430946 Nov 21 23:57
22 Working_20061120.tar.bz2
23 * end *
24
25 Tks.
26
27
28 What will be the use of /etc/pmount.allow
29
30 I played around on it;
31
32 $ cat /etc/pmount.allow
33 # /etc/pmount.allow
34 # pmount will allow users to additionally mount all devices that are
35 # listed here.
36 user/satimis etc.
37 * end *
38
39 It did not help.
40
41
42 B.R.
43 satimis
44
45 Send instant messages to your online friends http://uk.messenger.yahoo.com
46 --
47 gentoo-user@g.o mailing list