[lug] mounting cdrom
stimits at idcomm.com
Thu Nov 23 14:42:04 MST 2000
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
> 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.
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
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