Description of Problem: In vfat filesystems files always appear with execute permissions turned on even when using the noexec option. But with the noexec option files can't be executed (as usual) even if they are showing +x for all. Version-Release number of selected component (if applicable): 2.4.9-6 How Reproducible: Always Steps to Reproduce: 1. mount a vfat filesystem with the noexec option 2. do a ls in some directory with files Actual Results: All files have execute permissions Expected Results: Files should't have execute permissions. Additional Information:
The problem still persists with RedHat 7.2's 2.4.9-13.
With version 2.4.9-12 at least, the problem appears to be in the display of permissions. If I copy a simple bash shell script to a vfat partition, I can actually execute it if I mount the partition with the option 'exec' but not with the option 'noexec'. (In either case the permission is displayed as executable.) If I reboot Linux using my previous kernel 2.4.3-12, the execute permissions are correctly displayed.
The option "showexec" is a decent workaround (although .exe and .com files still appear green).