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
Received on Tue Jun 15 1999 - 13:00:51 NZST