Gentoo Archives: gentoo-user

From: danielhf@××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to access mounted dir with non-root?
Date: Sat, 13 Aug 2005 14:28:11
Message-Id: 20050813142245.GA6883@daniel
In Reply to: Re: [gentoo-user] how to access mounted dir with non-root? by "Stefan Kögl"
1 On Fri, Aug 12, 2005 at 05:47:22PM +0000, Stefan K?gl wrote:
2 > danielhf@××××.com wrote:
3 > >i've found that i could not access the mounted
4 > >directory with non-root users.
5 > >1. i "chown" directories under "/mnt" to the user,
6 > > but so long as i mount, the permission of the
7 > > specific dir will be changed to "drwx------" and
8 > > owner changed to root automatically.
9 > >2. i try to use a mount option "users",
10 > > $> mount /dev/hda6 /mnt/win -o rw,users
11 > > no luck somehow as well.
12 > >3. i would not use "sudo" to do this, i believe there is
13 > > a way to solve the problem. and not sure "sudo" will work.
14 > >
15 > >any ideas about this? thanks a lot in advance
16 > Which filesystem are you talking about? If you mean NTFS (or maybe
17 > others too), you'll have to add a umask to the mount-options.
18 > >
19 > >best regards
20 > >daniel
21 >
22 > greetings
23 > >
24 >
25 >
26 >
27 > --
28 > Stefan K?gl | Tel.: +43 664 44 24 894
29 > Apetlonerstra?e 11 | Mail: Stefan K?gl <koeglstefan@×××.at>
30 > A-7132 Frauenkirchen | ICQ: 115578877
31 >
32 > --
33 > gentoo-user@g.o mailing list
34 >
35
36 actually, both ntfs (windows partition) and fat32 (usb disk) have
37 the problem, i'll try the "umask" option, thanks to all for your
38 help.
39
40 --
41 daniel
42 --
43 --
44 gentoo-user@g.o mailing list