From: Peter Mittermayer <p.mittermayer () astro ! univie ! ac ! at>
To: tru64-unix-managers
Subject: mounting CD under DU 4.0D
Date: Tue, 15 Jun 1999 12:58:32 +0000 [thread overview]
Message-ID: <96079044115728.tru64-unix-managers.marc@archive.invalid> (raw)
Hi,
To make it possible for 'normal' users to mount CDs I wrote the
following short program:
PROGRAM cdmount
IMPLICIT NONE
INTEGER :: system
IF (system('/sbin/mount -o ro,nodev,rrip -t cdfs /dev/rz4c /cdrom') /=
0) THEN
IF (system('/sbin/mount -o ro,nodev,rrip -t cdfs /dev/rz4c /cdrom') /=
0) THEN
WRITE(*,*) 'Execution failed!'
STOP
END IF
END IF
END PROGRAM cdmount
The 'Set-user-ID' bit is set for this executable. This works well on DU
4.0B but no longer on 4.0D.
On 4.0D I only get the following error message:
mount: Can't load cdfs module
Any ideas why it doesn't work?
Are there any alternatives to bypass this problem (but no automount)?
Peter
reply other threads:[~1999-06-15 12:58 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