Remove executable bit from vfat files
Having every single file on a USB drive marked as +x when the filesystem is vfat causes quite a few problems. The simple solution is to mount vfat with directories set as executable but normal files not.
Blueprint information
- Status:
- Complete
- Approver:
- Sebastien Bacher
- Priority:
- Low
- Drafter:
- desrt
- Direction:
- Needs approval
- Assignee:
- Martin Pitt
- Definition:
- Approved
- Series goal:
- Accepted for maverick
- Implementation:
- Implemented
- Milestone target:
- maverick-alpha-2
- Started by
- desrt
- Completed by
- Martin Pitt
Related branches
Related bugs
Bug #14335: nautilus wants to execute all text files on vfat and ntfs drives | Fix Released |
Whiteboard
Decided to use undocumented 'showexec' option in kernel. This means that ".exe", ".com" and ".bat" end up as executable and all other files not.
Work items:
[pitti] Poke udev-disks upstream about adding 'showexec' option to default mount options for vfat: DONE
pitti, 2010-05-12: Test case committed upstream, and proposed patch sent to https:/
pitti, 2010-05-20: Patch committed upstream.
pitti, 2010-06-01: udisks uploaded to Debian sid and Ubuntu maverick.
Fred, 2010-08-24: What about .cmd, .ps1, .pl, .rb, .py, .sh, etc?