Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

up vote 3 down vote accepted

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.

share|improve this answer
    
How does a path to a mounted image looks like? I don't seam to figure it out –  Chepech Jun 27 '11 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 '11 at 6:08

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.