2002-11-16 15:47:25

by Jeff Chua

[permalink] [raw]
Subject: re: VFAT mount (bug or feature?


On Wed, Nov 13, 2002 at 01:47:04AM +0100, Udo A. Steinberg wrote:

>> In my /etc/fstab I have the following entry:
>>
>> /dev/hda1 /win vfat defaults,umask=022 1 1
>>
>> Why does 2.5.47 have user/group restricted permissions on the mount
>> point and all its subdirectories, despite the umask setting?

> Yes. This is due to a somewhat buggy change in 2.5.43.

This is buggy in 2.4.20-rc1 as well.

drwxr--r-- 40 root root 4096 Jan 1 1970 /dos

Any patch for 2.4.20-rcx?


Thanks,
Jeff
[ [email protected] ]


2002-11-16 20:13:12

by Andries Brouwer

[permalink] [raw]
Subject: Re: VFAT mount (bug or feature?

On Sat, Nov 16, 2002 at 11:52:42PM +0800, Jeff Chua wrote:

> > Yes. This is due to a somewhat buggy change in 2.5.43.
>
> This is buggy in 2.4.20-rc1 as well.
>
> drwxr--r-- 40 root root 4096 Jan 1 1970 /dos
>
> Any patch for 2.4.20-rcx?

Hm. Why do you think this is wrong? Didnt you ask for it?


2002-11-17 01:41:48

by Jeff Chua

[permalink] [raw]
Subject: Re: VFAT mount (bug or feature?

On Sat, 16 Nov 2002, Andries Brouwer wrote:

> > drwxr--r-- 40 root root 4096 Jan 1 1970 /dos
> >
> > Any patch for 2.4.20-rcx?
>
> Hm. Why do you think this is wrong? Didnt you ask for it?

No, I didn't ask for it.

But, 2.4.20-rc2 seems ok.

'mount -o umask=022' now works under 2.4.20-rc2.

Thanks,
Jeff.

2002-11-17 02:16:17

by Jeff Chua

[permalink] [raw]
Subject: Re: VFAT mount (bug or feature?


On Sun, 17 Nov 2002, Jeff Chua wrote:

> But, 2.4.20-rc2 seems ok.
>
> 'mount -o umask=022' now works under 2.4.20-rc2.

"remount" doesn't work.

mount -o umask=022 -t vfat /dev/hda1 /dos
mount -o umask=000 -o remount -t vfat /dev/hda1 /dos

The above didn't work.

umount /dos
mount -o umask=022 -t vfat /dev/hda1 /dos
umount /dos
mount -o umask=000 -t vfat /dev/hda1 /dos


Jeff