[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:       Thiago Macieira <thiago () kde ! org>
Date:       2009-02-19 16:08:23
Message-ID: 200902191708.23283.thiago () kde ! org
[Download RAW message or body]

Em Quarta-feira 18 Fevereiro 2009, ās 09:04:50, R.F. Pels escreveu:
> - it is readable for the person trying to execute it

This is required for scripts, but not for binary executables.

In any case, we can't execute if it's not readable anyways.

> - it has the x bit set
> - it is on a standard path (for .desktop files that is)
> - in this case, it has a hash-bang path (treat it as a script)

Good point on this last one. If we make it executable, we should add a #! at 
the beginning because people may run them from the shell.

Should it be /usr/bin/xdg-open ?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Software
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

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

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