Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5292  / 1 Year ago, wed, april 5, 2023, 4:01:04

I'm trying to install a game that has a two-CD installation, and I get this error message:




The file '/media/FREESPACE_1/Setup.exe' is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run. For more details, read about the executable bit.




Since it's on a CD, it is a read-only file and therefore I cannot change the permissions. Any ideas how to solve this?


More From » permissions

 Answers
3

You can try starting wine from terminal, giving it the name of your executable as an argument:



cd /media/FREESPACE_1
wine ./Setup.exe


Another option would be to somehow remount the cdrom passing different "mode" parameter to isofs driver - by default mode is 0400, which is "owner read-only", i.e. "r------". You need to change it at least to 0500, i.e. "r-x------". So something along the these lines technically should help - however, I couldn't make it work in my brief testing:



sudo mount /media/FREESPACE_1 -o remount,exec,ro,mode=500

[#44034] Thursday, April 6, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ionash

Total Points: 214
Total Questions: 111
Total Answers: 116

Location: Sudan
Member since Thu, May 7, 2020
4 Years ago
;