Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] how to access mounted dir with non-root? danielhf@××××.com