Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles

Game fails on Linux due to maligned permissions.

A topic by Froge created Nov 26, 2017 Views: 450 Replies: 4
Viewing posts 1 to 4

Good day. I must report that I am unable to execute the provided shell script on my Linux machine, even after giving myself executable privileges and full access on all files and all folders while running as super-user. The output is:

home@home ~/Downloads/Games/DreamSaviorGakuenReDraw $ ./DSGReDraw.sh 
./DSGReDraw.sh: 87: exec: /home/home/Downloads/Games/DreamSaviorGakuenReDraw/lib/linux-x86_64/DSGReDraw: Permission denied

My operating system is Linux Mint 18.2 Cinnamon 64-bit. I have no idea how to fix this, but if you’re using the stock Ren’Py engine, I would recommend recompiling your game and redistributing it, given how I have no trouble whatsoever with other Ren’Py games.

Thank you.

Developer

Hi Froge, thanks for letting me know! I really appreciate it. With the Christmas vacation coming up, there's tons of work deadlines and I'm terribly busy. However when I get a free change (probably on a weekend) I'll try what you suggested and see if that helps.

Cheers!

Don’t worry about it over your holiday. Thanks for replying so promptly.

Developer

Hi Froge,

Long time no chat! So naturally I can't test it as I don't have Linux, however I recompiled the game so if you redownload it...give it a shot and let me know if it works.

Happy Holidays! :)

The problem seemed to be that a particular folder (the lib/linux-x86_64 folder) contained a file (the DSGReDraw executable) that didn’t have permission to execute as a program. Without that permission, the game fails.

I managed to fix this issue by executing the following command in the root folder (the DreamSaviorGakuenReDraw folder):

chmod -R u+x *

Which gives the current user permission to execute every file in every directory.

So thank you for the recompilation. You might want to include a message on the download screen saying you’ll need to execute this command, though.