How are .sh files supposed to be used exactly??!?! Followed everything I found on google, nothing works.
If I double click the .sh file an association box opens up, but apperantly .sh files are not meant to be associated with anything, which sounds insane to me, cause something/somehow has to be used to open any type of file, right?!?
If I try to open it with the terminal I get stuff like:
VIKINGS@VIKINGSKINGDOM:~$ cd /mnt/Seeding
VIKINGS@VIKINGSKINGDOM:/mnt/Seeding$ chmod +x AssassinsCreedOdyssey.sh
VIKINGS@VIKINGSKINGDOM:/mnt/Seeding$ ./AssassinsCreedOdyssey.sh
bash: ./AssassinsCreedOdyssey.sh: Permission denied
VIKINGS@VIKINGSKINGDOM:/mnt/Seeding$ sudo ./AssassinsCreedOdyssey.sh
[sudo] password for VIKINGS:
sudo: unable to execute ./AssassinsCreedOdyssey.sh: Permission denied
VIKINGS@VIKINGSKINGDOM:/mnt/Seeding$
The file’s properties came as 755 by default, but even after making them 777 it doesn’t work:
You seem to have done everything right, so it may not be that the shell script isn’t running, it maybe that something inside the script is saying “permission denied”. Shell scripts are basically shell commands in a file, that’s it. So, you’d need to open the file and see what it’s trying to run/execute and that may give hints.
They are text files, and by default, they’d probably just open in a text editor if you double click them. Could you please post the output of these commands:
$ ls -lash AssassinsCreedOdyssey.sh
$ file AssassinsCreedOdyssey.sh
what do you get for head -n 4 AssassinsCreedOdyssey.sh
If it’s not plain, straight, readable text, then the file is corrupt. I assume this if a GOG file which are/can be delivered as some shell script followed by a pile of binary which is unpacked.
and see if the “Options” column shown includes noexec.
If so, you should be able to change this in KDE Partition Manager by unmounting, doing “Edit Mount Point” to change the option (i.e. deselect the “No binary execution” checkbox), then remounting.
VIKINGS@VIKINGSKINGDOM:/mnt/Seeding$ head -n 4 AssassinsCreedOdyssey.sh
#!/usr/bin/env sh
#
# YAD Simple Installer script version 12.01.2021
# by Хрюнделёк & Kron4ek
@pg-tips Indeed it has the noexec tag, hopefully I won’t break anything if I try to change it…
Huh, here’s a problem, I’m at the edit mount point window but the “No binary execution” thing isn’t selected. Could it just be a silly remnant in the fstab file?
Should I leave KDE partition manager alone, and just open fstab, edit it and delete the no exec part from it then restart my system?
Anything is possible with my luck @theprogram , but I doubt it, as other people report it working. So unless it specially broke just for me moments after downloading it…
P.S. And this file it’s not from gog, not sure if I’m allowed to talk about it here where it’s from but lets just say it’s my last chance as I’ve been trying to get an updated version of this game to work on linux nonstop for the past several days and I am at the end of my rope!!! If I can’t get this to work either then…
Too late mate, already done. And thankfully adding exec worked and now the .sh file opened simply by double clicking it!!!
So thank you @grumpey and everyone else for you help. Now just keep your fingers croosed that it will actually install properly and then work, cause else I’m…
P.S. Btw since you say
Should I just remove users entirely? I don’t even remember how/why it’s there at all, any pros/cons to keeping it?
Oh, well don’t blame me for trying to be careful, maybe it’s just my age but I have no idea where the line is with you people anymore.
For example I see my main post was edited once again and the word… the place where satan lives was removed. Am I even allowed to say satan, should I do it the Manson way say10?
Who knows, back in my day we weren’t scared of words, but ces’t la vie, the world is doomed.
Anyway back to the point at hand(assuming I am allowed to talk about such things) yeah I wanted to replay Odyssey after all these years and I decided to try a newer version with all the DLC and stuff, but am having no shape or form of luck at all!!!
Most versions I found I was not even able to install because of stupid isdone.dll -11 errors. Then I finally found a version where the game files where already unpacked so all I had to do was create a prefix for the game in Lutris and then copy the files over.
Tried for hours upon hours to get that one working, even steped on my principles and used f AI to try to get it working, but was unable to do anything more then probably burn an entire forests worth of tress with it and now on top of not having a playable game I hate myself too…
So this version, that is “specially packaged”(whatever that means) by this group to supposedly work on Linux better/easier, was my last hope.
But surprise surprise, after your people’s help I managed to install it just fine but it still won’t run. Gonna try for a few more hours(maybe, I already have a bad headacke…) to troubleshoot it, then I’ll just give up and proly go back and play the old version which after all these years still installs and runs just fine, but I really, really would have liked to see the new stuff…
LE: OMG!!! I finally got it working, by that I mean at least the game fired up and I’m now in the menu. Here’s hoping I’ll actually get to play it, if so, bye! Nobody will hear from me for several weeks, hahaha
Your post was edited to remove “how the hell”, because that’s not professional language.
The guidelines for use of language on the forum (and in general on community channels) are:
“be excellent to each other” (i.e., follow the Code of Conduct)
use language that you would use at work/school, since that sets a threshold for what is appropriate when communicating with colleagues
It’s a friendly community, but nevertheless, it’s a professional community. So certain standards of behaviour are to be met. One cannot use language that one would use with close friends here, at least not in public community channels. I hope that makes sense.
If you have more trouble with using Fedora/Linux, please open a new topic. This one has now been resolved.