Check out our Monthly Survey Page to see what our users are running.
We do often include affiliate links to earn us some pennies. See more here.

Here's a small and very useful sounding application from game developer Cheeseness. It's called plus-x and the aim is to allow developers on Windows to set the correct permissions on Linux executables.

The problem: when game developers put out a Linux build and then zip it up for download, Linux users download it and then often need to manually set permissions on the executable for it to be launched. plus-x gets around that by allowing developers to inspect the package and then set the correct permissions.

The primary audience for this is developers supplying direct downloads, as it's not something that's usually an issue on the likes of Steam.

From the application page:

Typically, a filesystem requires an executable file to be flagged as such before the operating system can run it.  The most common implementation is part of what is typically referred to as "traditional Unix permissions." Unlike other modern (and many historic) operating systems, this is not supported by Windows or its default filesystems, meaning that information gets lost when extracted on Windows and won't be included when files are compressed on Windows.

Internally, the ZIP file format is capable of tracking Unix style executable permissions (used by Linux and MacOS). plus-x allows those permissions to be set after compressing so that users won't have to manually set that themselves.

It's open source under the MIT license and available from itch.io and GitLab.

Article taken from GamingOnLinux.com.
29 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
4 comments

3zekiel Mar 5, 2021
QuoteTypically, a filesystem requires an executable file to be flagged as such before the operating system can run it. The most common implementation is part of what is typically referred to as "traditional Unix permissions." Unlike other modern (and many historic) operating systems, this is not supported by Windows or its default filesystems

Ah windows and its lack of executable bit in the filesystem - or of any native access control btw. There goes so many security issues, since it gives the ability to exec anything downloaded anywhere on the internet ...

As for the tool itself, it's true that it's a good idea to solve this kind of small issues. Might help with some very easily avoidable issues and frustrations.

EDIT: made the message clearer (hopefully).


Last edited by 3zekiel on 5 March 2021 at 8:35 pm UTC
kokoko3k Mar 5, 2021
Quoting: 3zekiel
QuoteTypically, a filesystem requires an executable file to be flagged as such before the operating system can run it. The most common implementation is part of what is typically referred to as "traditional Unix permissions." Unlike other modern (and many historic) operating systems, this is not supported by Windows or its default filesystems

And there goes many security issues with the ability to exec anything off the internet ...

For the tools itself, it's true that it's a good idea. Might help with some very easily avoidable issues.
I don't get it, "anything off the internet"?
This tool seems to allow you to set executable bits on executable files on files the user wants to execute because he wants to play.
?
3zekiel Mar 5, 2021
Quoting: kokoko3k
Quoting: 3zekiel
QuoteTypically, a filesystem requires an executable file to be flagged as such before the operating system can run it. The most common implementation is part of what is typically referred to as "traditional Unix permissions." Unlike other modern (and many historic) operating systems, this is not supported by Windows or its default filesystems

And there goes many security issues with the ability to exec anything off the internet ...

For the tools itself, it's true that it's a good idea. Might help with some very easily avoidable issues.
I don't get it, "anything off the internet"?
This tool seems to allow you to set executable bits on executable files on files the user wants to execute because he wants to play.
?

I was not talking about the tool, but about the windows filesystem, which has no basic right management. Meaning, nothing avoid you from executing random stuff. Well, nowadays there is some pop up that might appear to ask your passwd before installing stuff, but users are so used to just type it (and so many passwds are probably just "qwerty") whenever asked ...
Purple Library Guy Mar 5, 2021
Quoting: kokoko3k
Quoting: 3zekiel
QuoteTypically, a filesystem requires an executable file to be flagged as such before the operating system can run it. The most common implementation is part of what is typically referred to as "traditional Unix permissions." Unlike other modern (and many historic) operating systems, this is not supported by Windows or its default filesystems

And there goes many security issues with the ability to exec anything off the internet ...

For the tools itself, it's true that it's a good idea. Might help with some very easily avoidable issues.
I don't get it, "anything off the internet"?
This tool seems to allow you to set executable bits on executable files on files the user wants to execute because he wants to play.
?
Presumably it would also allow you to set them on other files the user doesn't necessarily want to execute, but I'm sure virus writers could already do that.
But it seems like that's not what the original commenter was talking about.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.