http://qa.mandrakesoft.com/show_bug.cgi?id=3779





------- Additional Comments From [EMAIL PROTECTED]  2003-21-08 15:11 -------
I've manually added those options in fstab on my MDK 9.2 beta2 machine, tested,
and it works. Latest cooker kernel (2.4.22-0.6mdk).

Please, add it to diskdrake, it makes Windows filesystems much more sensible.

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: UNCONFIRMED
creation_date: 
description: 
As discussed earlier during 9.0 RC phase of release, it would be good for
diskdrake to use the "showexec" options for vfat filesystems detected during
installation.

See my original report for Mandrake 9.0 RC2 here:
<http://olo.office.altkom.com.pl/domowa/qa/mandrake/9.0/rc2/home_machine/2002_09_15_rc2_install/problems/04_showexec_option_needed_for_vfat_entries_in_fstab/info.html>
and the discussion on the cooker mailing list here:
<http://archives.mandrakelinux.com/cooker/2002-09/msg02704.php>

The "noexec" option for vfat no longer works, regardless of its setting files on
vfat filesystem always have +x permissions, which is very irritating - e.g. when
you try to launch a .png image from Midnight Commander, it tries to execute it
as a binary instead of running an image viewer...
Using the showexec option would cause the kernel driver to automatically set +x
permissions only on files with proper DOS extensions - .exe, .com etc., and
leave other files without execute permissions.

The same problem exists with NTFS partitions, but ntfs driver doesn't support
"noexec" neither "showexec" - but it has a handy option called "fmask", which,
if set to "0111", would prevent +x permissions on files.

It was argued by pixel that this is rather a replacement for "exec" option, not
"noexec" - that's not true. Showexec is like an intelligent "noexec" - it
removes execute permissions only from files that don't need that permission,
while retaining it for files that do need it. Besides, noexec options doesn't
work, which leaves us without other choice...

I don't know the insides of diskdrake's code, but I think it would be relatively
easy to modify it so that for vfat filesystems it adds "showexec" to mount
options in fstab, and for ntfs filesystems a "fmask=0111" option.

Those options do work, I've tested that on Mandrake 9.1 final.

Reply via email to