[lug] mounting cdrom

Hugh Brown hugh at math.byu.edu
Fri Nov 24 00:07:35 MST 2000


I know it isn't the device because I can do a manual mount (i.e. not via
fstab) and it works, but when I do mounts that query fstab it doesn't.

In any event, /cdrw has perms 0755

Hugh


"D. Stimits" wrote:
> 
> Hugh Brown wrote:
> >
> > I am trying to get my cdrom to allow exec so I can run an install script
> > on the cdrom.  I unmounted the drive, changed fstab to
> >
> > /dev/hdd                /cdrw             iso9660 exec,noauto,user,ro 0
> > 0
> >
> > it used to be (/dev/hdd  /cdrw   iso9660 noauto,user,ro 0 0).
> >
> > When I remount I still get this:
> >
> > /dev/hdd on /cdrw type iso9660 (ro,noexec,nosuid,nodev)
> >
> > If I do a mount /dev/hdd -t iso9660 -o exec,ro /cdrw  then it does what
> > I want it to.
> >
> > I'm assuming that some sort of security has been setup that won't allow
> > a cd to be mounted that allows executable content, but when I am root, I
> > should like to override it.
> >
> > Ideas?
> >
> > Hugh
> 
> One thing to check before assuming it is the device that does not allow
> exec is that the mount point itself must be executable, and all of its
> parents. So if you mount on /cdrw/, then be sure that /cdrw is chmod
> with +rwx for whichever user/group is relevant.




More information about the LUG mailing list