Solved

HOW DO I GET A FILE TO EXECUTE FROM CDROM

Posted on 2000-04-25
2
225 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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now