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
Solved

HOW DO I GET A FILE TO EXECUTE FROM CDROM

Posted on 2000-04-25
2
229 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help on running oracle SQL script in linux 3 60
expectj telnet failing 5 45
Linux VM 6 101
Post Clonezilla image restore issue 6 31
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

840 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