i had problems getting cdrw to work on a sparc running solaris 8, except as root recently, and i thought i would say how i got it to work for all my users.
the first time a user tried to access 'cdrw' they were told that there were no devices (even though cdrw was set-uid to root)
i found i had to grant read access to everybody on the raw device:
[tt]chmod a+r /devices/iommu@0,10000000/sbus@0,100.../sd6,0:c[/tt]
this allowed uses with cd images to write happily to the blank cd's in the drive.
cdrw -c (copying a cd) caused me more trouble, till reading all the files and man pages and info and suns websites caused me in frustration to type 'printenv'
the problem on our system was that the machine was only set up with 400Mb swap space (loads really, but not the 600Mb needed for a cd image) and SUN helpfully (for security i guess) disabled the '-m' option for non root users
[tt]setenv TMPDIR <my big storage temporary directory>[/tt]
fixed this problem for me, and i've not had to tell anyone the root password, and i've not lost the war to the Wintel users and had to hand the CD-Writer back
for the record; The mkisofs command i use, generally, is the following:
[tt]mkisofs -d -L -J -r -v -V <volume-name> -o <global large temporary storage directory>/<volume-name>.img <directory/file you want recorded>[/tt]
Jon
the first time a user tried to access 'cdrw' they were told that there were no devices (even though cdrw was set-uid to root)
i found i had to grant read access to everybody on the raw device:
[tt]chmod a+r /devices/iommu@0,10000000/sbus@0,100.../sd6,0:c[/tt]
this allowed uses with cd images to write happily to the blank cd's in the drive.
cdrw -c (copying a cd) caused me more trouble, till reading all the files and man pages and info and suns websites caused me in frustration to type 'printenv'
the problem on our system was that the machine was only set up with 400Mb swap space (loads really, but not the 600Mb needed for a cd image) and SUN helpfully (for security i guess) disabled the '-m' option for non root users
[tt]setenv TMPDIR <my big storage temporary directory>[/tt]
fixed this problem for me, and i've not had to tell anyone the root password, and i've not lost the war to the Wintel users and had to hand the CD-Writer back
for the record; The mkisofs command i use, generally, is the following:
[tt]mkisofs -d -L -J -r -v -V <volume-name> -o <global large temporary storage directory>/<volume-name>.img <directory/file you want recorded>[/tt]
Jon