From: Padiyath Kumar <Kumar.Padiyath () psi ! ch>
To: tru64-unix-managers
Subject: user Privileges for Mounting CD
Date: Wed, 25 Oct 2000 14:35:12 +0000 [thread overview]
Message-ID: <97248456519559.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~2000-10-25 14:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox