1 |
On Tuesday 17 October 2006 08:57, Thufir wrote: |
2 |
> How can I fix line 10 of /etc/fstab so that, like /mnt/windows, it's |
3 |
> just automagically available for read and write? |
4 |
|
5 |
[snip] |
6 |
> 9 /dev/hdb1 /mnt/windows |
7 |
> vfat users,owner,rw,umask=000 0 0 |
8 |
> 10 #/dev/hdb4 |
9 |
> /mnt/gentoo ext3 users,owner,rw,umask=000 0 0 11 |
10 |
|
11 |
The short answer is that you don't. The long answedr is that you can, if |
12 |
you are willing to change permissions. |
13 |
|
14 |
Your /mnt/windows is a vfat filesystem, which has no idea of unix |
15 |
permissions. But it's mounted on a Unix system which must have |
16 |
permissions, so the kernel takes a default and applies the default to |
17 |
every file and directory |
18 |
|
19 |
Your /mnt/gentoo is ext3 which DOES understand permissions, so therefore |
20 |
the system will use the permissions and owner/group that is already on |
21 |
that filesystem. You can't override this, and neither do you want to. |
22 |
The defaults you are using mostly do not apply to ext3 either, check |
23 |
the man page for mount for valid options to ext3 and ext2. |
24 |
|
25 |
If you are willing to change owner and permissions on all the files |
26 |
on /dev/hdb4 then you can do so and they will be available when |
27 |
mounted, but you cannot arbitrarily suspend existing permissions with |
28 |
just a mount operation. |
29 |
|
30 |
alan |
31 |
-- |
32 |
gentoo-user@g.o mailing list |