requiring .desktop files to be executable ?
Alexander Neundorf
neundorf at kde.org
Thu Feb 19 20:27:43 GMT 2009
On Thursday 19 February 2009, R.F. Pels wrote:
> On Thu 19 February 2009 12.44.23 David Faure wrote:
> > OK, with both conditions it doesn't break the case of a FAT partition
> > (where everything is owned by root *and* writable by the user).
> >
> > So we arrive at the following whitelist:
> > * x-bit is set
> > * in a standard path (xdgdata-apps, apps, services) (*)
> > * owned by root and not writable by user
> >
> > (*) I guess we should not add the Autostart folder to it, to protect
> > the user from "save this file into your autostart folder", although,
> > well, that would be a rather suspicious instruction in the first
> > place...
>
> hash-bang line? And what flashed through my brain was the idea of
Something like
#!/usr/bin/env kde-open
or
#!/usr/bin/env xdg-open
should work I think.
Alex
More information about the kde-core-devel
mailing list