[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: requiring .desktop files to be executable ?
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2009-02-19 20:27:43
Message-ID: 200902192127.43825.neundorf () kde ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic