mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.5.46] Problems with vfat mount umask on directories
@ 2002-11-07  6:28 DevilKin
  2002-11-07  6:42 ` DevilKin
  0 siblings, 1 reply; 2+ messages in thread
From: DevilKin @ 2002-11-07  6:28 UTC (permalink / raw)
  To: linux-kernel

'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
-- 
Blore's Razor:
	Given a choice between two theories, take the one which is
funnier.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.5.46] Problems with vfat mount umask on directories
  2002-11-07  6:28 [2.5.46] Problems with vfat mount umask on directories DevilKin
@ 2002-11-07  6:42 ` DevilKin
  0 siblings, 0 replies; 2+ messages in thread
From: DevilKin @ 2002-11-07  6:42 UTC (permalink / raw)
  To: linux-kernel

On Thursday 07 November 2002 07:28, DevilKin wrote:
> '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
-- 
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-07  6:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-07  6:28 [2.5.46] Problems with vfat mount umask on directories DevilKin
2002-11-07  6:42 ` DevilKin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®