Skip to contentSkip to conversation

[2.5.46] Problems with vfat mount umask on directories

DISCUSSION DevilKin 1 participant 2 messages Nov 7, 2002

lore
Share & tools
lore

DevilKin

author
#0 lore raw

'llo list.

This morning I discovered I no longer could write on my vfat data partition as a normal user. The following line is present in /etc/fstab (and has worked before with atleast 2.5.40 and each and every 2.4 kernel I used)

/dev/hda7 /mnt/data vfat defaults,gid=103,umask=007 0 0

which gives the partition a mask of 770 to all users in gid 103 (which is conveniently named fat32). I myself as user devilkin am in this group...

Yet, the directory is still:

07:22:56 root@laptop:/mnt# ls -ld data
drwxr-xr-x 9 root fat32 16384 Jan 1 1970 data

(and where the hell did that date come from??)

The permissioning on the files inside this directory seems correct, but for the directories it is wrong:

-rwxrwx---    1 root     fat32         313 May 27 12:32 afile.ini*
drwxr-xr-x    3 root     fat32       16384 Aug 22 13:01 adir/

which denies me the write rights I need.

Did something change on the fat/vfat/... layer that can cause this to no longer function?

If you need some more info, just yell... I hope this issue can be resolved.

DK

Signature · 3 lines
Blore's Razor:
	Given a choice between two theories, take the one which is
funnier.
author
#1 lore raw
Quoted 6 lines · DevilKin

'llo list.

This morning I discovered I no longer could write on my vfat data partition as a normal user. The following line is present in /etc/fstab (and has worked before with atleast 2.5.40 and each and every 2.4 kernel I used)

And, as usual, if one would first READ the docs and then ask help, one would get a lot farther. Sorry bout this... :oP Just read the Documentation/filesystems/vfat.txt file, it says something about dmask (not present currently in the mount manpage) which made everything work again.

Another case of RTFM...

DK

Signature · 8 lines
Let's just say that where a change was required, I adjusted.  In every
relationship that exists, people have to seek a way to survive.  If you
really care about the person, you do what's necessary, or that's the
end.  For the first time, I found that I really could change, and the
qualities I most admired in myself I gave up.  I stopped being loud and
bossy ...  Oh, all right.  I was still loud and bossy, but only behind
his back."
		-- Kate Hepburn, on Tracy and Hepburn