user Privileges for Mounting CD

From: Padiyath Kumar <Kumar.Padiyath_at_psi.ch>
Date: Wed, 25 Oct 2000 16:35:12 +0200

    
  Hi,
     On a Tru64 OS 4.0E machine user can mount and unmount CD's because of
the entry in /etc/doprc file.
     The entry is like this:

     cdmount {
        {users { username }}
        {path { /sbin/cdmount -m }}
}

cdumount {
        {users { username }}
        {path { /sbin/cdmount -u }}
}

    and cdmount is a script:

#!/bin/sh
case $1 in
  -u)
    umount /cdrom
    ;;
  -m)
    mount -t cdfs -o noversion /dev/rz4c /cdrom
    ;;
esac


        But when I use the same procedure on Tru64 OS 4.0D, I get the
following error message:

       "/dev/rz4c on /cdrom: Not owner"

   The file protections on Tru64 OS 4.0E for /dev/rz4c:
   =====================================
    brw------- 1 root system 8,5122 Dec 11 1998 /dev/rz4c

   The file protections on Tru64 OS 4.0D for /dev/rz4c
   ======================================

   brw------- 1 root system 8,5122 Dec 11 1998 /dev/rz4c

        Can anyone tell me the reason?

    regards,
    Kumar

   
Received on Wed Oct 25 2000 - 14:36:21 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT