I think you also need the 'exec' option in /etc/fstab to run binaries 
from the cdrom; check the mount(8) man page.  I believe I ran into this
sometime ago trying to run an installer program for applixware or
something like that.


Shawn Fertch wrote:
> It appears to be a permissions issue with my cdrom.  I copied it over to
> my home directory, and I was able to make a boot disk.  Anyone have any
> ideas why my permissions are working properly?
> 
> drwxr-xr-x    5 root     root         4096 Jun 19 09:31 cdrom/
> 
> /dev/cdrom       /cdrom           iso9660     noauto,user,rx   0   0
> 
> Shawn
> 
> 
> On Thu, 29 Aug 2002 20:58:10 -0500
> Shawn Fertch <sfertch at real-time.com> wrote:
> 
> > On Thu, 29 Aug 2002 20:51:51 -0500 (CDT)
> > Gerry <gsker at tcfreenet.org> wrote:
> > 
> > > 
> > > I would look not at the permissions of makedisk (which was
> > > interpreted as an executable) but at the permissions of /bin/sh and
> > > at the first line of makedisk.
> > > 
> > 
> > shawnf at fjorn:~$ ls -al /bin/sh
> > lrwxrwxrwx    1 root     root            4 Aug 23 13:15 /bin/sh ->
> > bash* shawnf at fjorn:~$ ls -al /bin/bash
> > -rwxr-xr-x    1 root     bin        532960 Feb 22  2002 /bin/bash*
> > shawnf at fjorn:~$ 
> > 
> > first lines of makedisk:
> > VERSION="(v. 8.1.0)"
> > # This is reasonable for 1.44MB floppies
> > SIZELIMIT=1375
> > if [ "$1" = "" -o "$2" = "" -o ! -r "$2" ]; then
> >   echo
> >   echo "Usage: makedisk name kernel"
> >   echo "Example: ./makedisk bare.i bare.i/vmlinuz"
> >   echo "Disk is made in /dev/fd0. Target disk must be formatted."
> >   echo
> >   exit 1
> > DISKNAME=$1
> > KERNEL=$2
> > CWD=`pwd`
> > MOUNT=/tmp/mnt-$$
> > if [ ! -d $MOUNT ]; then
> >   mkdir -p $MOUNT
> >   DELETE_MOUNT=true
> > if [ "`du -s $2 | cut -f 1`" -gt "$SIZELIMIT" ]; then
> >   echo "WARNING: kernel $2 is size `du -s $2 | cut -f 1`K, exceeds
> >   ${SIZELIMIT}K
> > ."
> >   echo "         SKIPPING!"
> >   sleep 2
> > 
> > 
> > Floppy space:
> > /dev/fd0                  1423         0      1423   0% /floppy
> > 
> > Everything seems to be in order...
> > 
> _______________________________________________
> Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list

-- 
-scot