1 |
On 12 August 2005 16:33, 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 |
What filesystem is on hda6? Does it know anything about ownership and |
15 |
permissions? |
16 |
|
17 |
If not (like FAT) you need something like "mount -o |
18 |
uid=youruser,gid=users,umask=0777" |
19 |
|
20 |
Uwe |
21 |
|
22 |
-- |
23 |
95% of all programmers rate themselves among the top 5% of all software |
24 |
developers. - Linus Torvalds |
25 |
|
26 |
http://www.uwix.iway.na (last updated: 20.06.2004) |
27 |
-- |
28 |
gentoo-user@g.o mailing list |