1 |
Am Freitag, 12. August 2005 17:33 schrieb ext |
2 |
gentoo-user+bounces-18312-ext-dirk.heinrichs=nokia.com@g.o: |
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 |
|
10 |
Yes, of course. After mounting, the directory has the permissions of the |
11 |
_mounted_ filesystem, so you need to chown/chmod afterwards. However, that |
12 |
only works with filesystems that know about unix permission. |
13 |
|
14 |
> 2. i try to use a mount option "users", |
15 |
> $> mount /dev/hda6 /mnt/win -o rw,users |
16 |
|
17 |
I guess you're trying to mount some Windows filesystem. See above, they |
18 |
don't know unix permissions. |
19 |
|
20 |
You have to use the uid option when mounting, see "man mount" for details. |
21 |
|
22 |
HTH... |
23 |
|
24 |
Dirk |
25 |
-- |
26 |
Dirk Heinrichs | Tel: +49 (0)162 234 3408 |
27 |
Configuration Manager | Fax: +49 (0)211 47068 111 |
28 |
Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com |
29 |
Hambornerstraße 55 | Web: http://www.capgemini.com |
30 |
D-40472 Düsseldorf | ICQ#: 110037733 |
31 |
GPG Public Key C2E467BB | Keyserver: www.keyserver.net |