can't autorun from cd

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
phillip1882
Newbie
Newbie
Posts: 2
Joined: Fri Mar 20, 2009 8:14 am

can't autorun from cd

Post by phillip1882 »

i get a permission denied error when i try to run civ 4 from a cd, even under wine. i didnt see anything in the faq about this so i thought i would ask here if anyone knows how the get permission.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: can't autorun from cd

Post by vitamin »

phillip1882 wrote:i get a permission denied error when i try to run civ 4 from a cd, even under wine. i didnt see anything in the faq about this so i thought i would ask here if anyone knows how the get permission.
Correct, cdroms are not mounted with execute permissions on files - which means you can not _run_ programs from there.

This is default "security" feature of your distro.
fcmartins
Level 4
Level 4
Posts: 114
Joined: Sat Nov 01, 2008 5:48 pm

Post by fcmartins »

Usually I open a terminal and enter:

cd /media/cdrom
wine setup.exe

works for me in Ubuntu.
Locked