Announcement

Collapse
No announcement yet.

Correct Optical Drive Permissions

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Correct Optical Drive Permissions

    I have been trying to install various programs (which claim to be Linux compaitable) from CDs. But I have had trouble running install programs from the CDs.

    For example, I tried to install Matlab 6.5 from the CD. The install script had a .sh extension, so I typed:
    sudo sh install_unix.sh
    And all these permission errors come up. I read somewhere that the CD drive permissions (which, I guess, override the individual file permissions) were set to non-executable by default. So then I copied the entire CD contents to the hard drive and ran the script, which installed fine.

    How do you change the CD drive permissions, or make it so it installs sensibly without copying the entire CD contents?

    Having further issues with TexLive2007 installation.

    #2
    Re: Correct Optical Drive Permissions

    Tried to run a script from CD, no problem.

    My CD/DVD lines from fstab:
    Code:
    /dev/hdc    /media/cdrom0  udf,iso9660 user,noauto,exec 0    0
    /dev/hdd    /media/cdrom1  udf,iso9660 user,noauto,exec 0    0
    From How to edit and understand /etc/fstab - 1.1
    http://www.tuxfiles.org/linuxhelp/fstab.html
    < 4th column: Mount options >

    exec and noexec exec lets you execute binaries that are on that partition, whereas noexec doesn't let you do that. noexec might be useful for a partition that contains binaries you don't want to execute on your system, or that can't even be executed on your system.
    and mount point info:
    Code:
    :~$ ls -l /media
    total 64
    lrwxrwxrwx  1 root root    6 2007-09-28 20:42 cdrom -> cdrom0
    drwxr-xr-x  2 root root   4096 2007-09-28 20:42 cdrom0
    drwxr-xr-x  2 root root   4096 2007-09-28 20:42 cdrom1

    Links:
    How to fstab
    http://ubuntuforums.org/showthread.php?t=283131

    How to edit and understand /etc/fstab - 1.1
    http://www.tuxfiles.org/linuxhelp/fstab.html

    fstab
    http://en.wikipedia.org/wiki/Fstab

    Linux permissions help
    http://zzee.com/solutions/linux-permissions.shtml

    Chmod help
    http://zzee.com/solutions/chmod-help.shtml
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Correct Optical Drive Permissions

      Ah, fstab had no "exec" in it for the CD drive. It all makes sense now..

      Thanks for your help.

      Comment

      Working...
      X