There is currently a feature in the gnome-vfs-mime code that's for this kind of thing: gnome_vfs_mime_can_be_executable (const char *mime_type). There's a setter too, though in typical use this is set only by reading the mime data from disk (look for can_be_executable in gnome-vfs.keys). We added this to avoid problems such as trying to execute an image file because it had the execute bit inadvertently set. John on 5/24/01 6:11 PM, Miguel de Icaza at [EMAIL PROTECTED] wrote: > > I just thought of something. Maybe we should have a property in the > mime-type that describes whether this mime-type is safe to be launched > or not. So we can manually tag things that might introduce a security > risk. > >> I still don't see the utility in adding hacks into evolution to >> special-case this. Will the same happen with application/x-rpm? And >> application/x-scripting-language? I still maintain that having the user >> have to manually set the execute bit will at least force them to >> actually have to -do- something that will hopefully make them realize >> that they either know what they're doing or they don't. It's such a >> small thing that can possibly prevent a large amount of headache. >> > > _______________________________________________ > Nautilus-list mailing list > [EMAIL PROTECTED] > http://lists.eazel.com/mailman/listinfo/nautilus-list > _______________________________________________ Mc mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Tuomas Kuosmanen
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Alexander Skwar
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Zak McGregor
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Miguel de Icaza
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Alexander Skwar
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Tuomas Kuosmanen
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Vladimir Vukicevic
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Miguel de Icaza
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Miguel de Icaza
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Cory Trese
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... John Sullivan
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Ian McKellar
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Pavel Machek
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Alexander Skwar
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Vladimir Vukicevic
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Cory Trese
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Vladimir Vukicevic
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Pavel Machek
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Alexander Skwar
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Pavel Machek
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC... Pavel Machek