Please note that 'sudo' is not necessary to make a script or executable
object file actually executable.

You can just run "chmod 755 /path/to/file" and if your user has
appropriate privileges, the file will become executable. This is a
standard tool in the Unix security model, any user can make any file
they own executable. Since the user can execute the file with "/bin/sh
/path/to/file" or any number of other ways, it does not make sense to
try to prevent the user from setting the execute bit on files they own.

Furthermore, I don't think .desktop files actually need to be executable
for any of the associated tooling to work; they are simply descriptive
files that tell a user interface such as Unity some meta-data about
applications.

Thanks, and welcome aboard. :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1336705

Title:
  Creating .desktop file with zenity makes it executable without
  permission

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/1336705/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to