This has got to be an easy one, but I can't seem to find it. I'm trying to run an install executable from a CD and the executable permission isn't set... but I can't set it because it's a read only CD. Ubuntu 10.4 Wine 1.1.38 I thought there was a way to disable the "run only executable" or whatever in Ubuntu, but I can't find it, googling executable is just a bunch of junk and the ubuntu IRCs were no help... again, I'm assuming it's something simple I'm missing. Incidentally is there a Wine IRC for support?
Charles Davis
2010-Feb-12 06:05 UTC
[Wine] Install from CD? Executable permission not set?
jage wrote:> This has got to be an easy one, but I can't seem to find it. > > I'm trying to run an install executable from a CD and the executable permission isn't set... but I can't set it because it's a read only CD. > > Ubuntu 10.4 > Wine 1.1.38 > > I thought there was a way to disable the "run only executable" or whatever in Ubuntu, but I can't find it, googling executable is just a bunch of junk and the ubuntu IRCs were no help... again, I'm assuming it's something simple I'm missing.Just mount the CD-ROM exec (instead of noexec), like so: mount -o exec /dev/cdrom /media/cdrom And then all the files on the CD will have execute access.> > Incidentally is there a Wine IRC for support?As a matter of fact, there is. Check out #winehq on irc.freenode.net . Chip
I must be doing something wrong:> > jage at Violet:~$ sudo mount -o exec /dev/cdrom /media > [sudo] password for jage: > mount: /dev/sr0: unknown device > jage at Violet:~$ sudo mount -o exec /dev/cdrom /media/QWBASMMIR1F > mount: block device /dev/sr0 is write-protected, mounting read-only > mount: /dev/sr0 already mounted or /media/QWBASMMIR1F busy > mount: according to mtab, /dev/sr0 is already mounted on /media/QWBASMMIR1F > jage at Violet:~$ umount /media/QWBASMMIR1F > jage at Violet:~$ sudo mount -o exec /dev/cdrom /media/QWBASMMIR1F > mount: mount point /media/QWBASMMIR1F does not exist > jage at Violet:~$ sudo mount -o exec /dev/cdrom /media > mount: block device /dev/sr0 is write-protected, mounting read-only > jage at Violet:~$ >There is no entry in fstab for the cdrom and it automounts under /media/{MEDIA.NAME} So I'm back to not sure how to mount the CD as executable.
So to summarize: A windows CD where the execute permission is not set -r-------- 1 jage jage 14860 2000-08-03 16:57 install.exe Right clicking and choosing Open With Wine Windows Program Loader fails because of Ubuntu policy prohibiting execution of files not marked with the executable bit https://wiki.ubuntu.com/SecurityTeam/Policies#Execute-Permission%20Bit%20Required CD cannot be mounted as executable because it is read only (see my above post) Solution was terminal (of course): jage at Violet:/media/QWBASMMIR1F$ wine install.exe Hope this helps someone in the future.