Solved

HOW DO I GET A FILE TO EXECUTE FROM CDROM

Posted on 2000-04-25
2
239 Views
Last Modified: 2012-05-04
I am running Caldera linux 2.2 and I have some software on CDROM I want to install for linux and it keeps telling me "Only able to exec from local disk" every time I click on the setup file.

How do you allow files to be executed from CDROM?

BTW I am new to linux so I am not sure what I am doing wrong.
THe permissions for the CDROM all clicked but still no luck.
0
Comment
Question by:dillardhk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Expert Comment

by:kiffney
ID: 2749386
check your /etc/fstab and make sure that the line that mounts the cdrom doesn't have the 'noexec' option.  If that word is on the cdrom line, delete it (as root) and then remount the drive

umount /mnt/cdrom
mount /mnt/cdrom

or something like that.
0
 
LVL 2

Accepted Solution

by:
mixerfix122699 earned 15 total points
ID: 2752255
a better solution would be - leave the noexec option in place and, instead, manually mount the cdrom:

umount /mnt/cdrom
mount -t iso9660 /dev/cdrom /mnt/cdrom

(In stead of /dev/cdrom, you might need to type the device name of the actual cdrom).

This way, you leave the more security-conscious fstab in one piece ;-)
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question