Popped into this while making traveler disk type of truecrypted USB stick usable in windows+linux.
The biggest problem for me is the broken support for autorun.sh in linux environment, truecrypt binaries can be renamed as truecrypt-linux-i386.exe easily enough. Renaming autorun.sh to autorun.bat would mean possible challenges on windows side.
I started to think the tradeoff between running shell scripts and filtering and possible solutions...
Would it be a good enough compromise, if the fat-driver would accept the list of extensions that should be given the executable bit to? Then udisks-daemon could pass extensions .exe, .bat, .com and .sh as mount-options.
If some desktop wants to override the default it would be still possible.
These changes needed for this are pretty staightforward (functionality in kernel/fat+udisks, mount documentation in util-linux if I did not miss something), I actually tested it out already in oneiric and could provide patches (to ubuntu, upstream or both) if this would be something that could be accepted.
Popped into this while making traveler disk type of truecrypted USB stick usable in windows+linux.
The biggest problem for me is the broken support for autorun.sh in linux environment, truecrypt binaries can be renamed as truecrypt- linux-i386. exe easily enough. Renaming autorun.sh to autorun.bat would mean possible challenges on windows side.
I started to think the tradeoff between running shell scripts and filtering and possible solutions...
Would it be a good enough compromise, if the fat-driver would accept the list of extensions that should be given the executable bit to? Then udisks-daemon could pass extensions .exe, .bat, .com and .sh as mount-options.
If some desktop wants to override the default it would be still possible.
These changes needed for this are pretty staightforward (functionality in kernel/fat+udisks, mount documentation in util-linux if I did not miss something), I actually tested it out already in oneiric and could provide patches (to ubuntu, upstream or both) if this would be something that could be accepted.