4

How do you set execute permissions on a .exe that is on a mounted image (.ISO file)?

2 Answers 2

3

Depending of the filesystem of you .iso you can also mount the image as executable by adding option exec or umask=777 to your mount command.

In case you just need to run a Windows .exe file with Wine you could also issue:

cd path/to/isofile
wine program.exe

from a command line.

2
  • How does a path to a mounted image looks like? I don't seam to figure it out
    – Chepech
    Jun 27, 2011 at 23:36
  • 1
    @Chepech: You can mount to any existing path. The Archive Mounter will mount the .iso to hidden path ~/.gvfs.
    – Takkat
    Jun 28, 2011 at 6:08
1

I would edit the ISO first with ISO Master (available from the software centre).

Double click your ISO and then navigate to the file you want to change the permissions.

Right-click the file and choose "Change Permissions"

enter image description here

Tick the check-box "x" as per this picture - this will change the execute bit for the user.

Then save the ISO. You can then remount the ISO using Archive Mounter and execute your executable file within the new ISO.

1
  • it works, but my archive has thousands of files and I can't see the option to change the permissions recursively..
    – Zhenya
    Jan 31, 2015 at 17:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .