Sunday, September 24, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5165  / 6 Months 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


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, 6 Months  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

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

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