On Wed, Nov 13, 2002 at 10:13:02AM +0100, Hatto von Hatzfeld wrote:
Hallo!
Oh, sorry. I forgot that this is an English mailing list. So I try to write an English version of my question: Hello! :-) After applying the patch util-linux-9919 to my SuSE 7.3 I have got problems mounting vfat partitions. The patch actually corrects a related bug: | Security update: The mount and umount program did not set their umask | properly. Local attackers could exploit this flaw to write arbitrary | content into the mtab file because upon creation this file was world | writeable. Now the umask seems to be 033 (unless I define a different value in the file /etc/fstab). Unfortunately this umask is applied to directories, too. So unprivileged users are unable to read any file on the mounted volume. Setting the umask to 023 I can enable some users to read these files; but now all files get the x-bit as well, a thing I'd like to avoid. I remember that in former times (at least in SuSE 6.2) using the option noexec in /etc/fstab I could make all directories on a vfat partition readable, while ordinary files did not get the x-bit. Now neiter noexec nor ro seem to have any effect on vfat partitions. What to do about that? Thanks and bye, Hatto von Hatzfeld