Remove executable bit from vfat files

Registered by desrt

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:
milestone icon maverick-alpha-2
Started by
desrt
Completed by
Martin Pitt

Related branches

Sprints

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://bugs.freedesktop.org/show_bug.cgi?id=28075 for discussion with David.

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?

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.