* mounting CD under DU 4.0D
@ 1999-06-15 12:58 Peter Mittermayer
0 siblings, 0 replies; only message in thread
From: Peter Mittermayer @ 1999-06-15 12:58 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-06-15 12:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-15 12:58 mounting CD under DU 4.0D Peter Mittermayer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox