SUMMARY: mtools and Solaris

Craig L. Gruneberg (clg@csph.psu.edu)
Wed, 25 Jun 1997 16:43:08 -0400

Lesson learned- read descriptions carefully...

My plea for help was:

----- Begin Included Message -----

>From clg@csph.psu.edu Wed Jun 25 16:15:38 1997
Date: Wed, 25 Jun 1997 14:58:02 -0400
From: clg@csph.psu.edu (Craig L. Gruneberg)
To: sun-managers@ra.mcs.anl.gov
Subject: mtools and Solaris

Hi all,

I am trying to use mtools 3.6 to read and write to a DOS formatted
Zip disk under Solaris 2.5.1. The problem is mtools will only work
when I am root. If I attempt to eject the zip disk as myself I get:

{clg} dyz: ./mzip -e z:
scsi_io: Not owner
stop motor: : Not owner

After reading ALL about mtools and trying a chmod 4755 I still cannot
run it as myself.

Anyone have any ideas?

----- End Included Message -----

Turns out I totally disregarded the last paragraph in the scsi variable
description at:

http://linux.wauug.org/pub/knaff/mtools/mtools.html#SEC28

which states:

Moreover, root privileges are only used for drives described in a
system-wide configuration file such as `/usr/local/etc/mtools.conf', and
not for those described in `~/.mtoolsrc' or `$MTOOLSRC'.

I was trying to get it to work with my ~/.mtoolsrc file which cannot be
done. I also didn't do a full install- just played around with the
executable where it was built.

-craig

UNIX Systems Manager
College of Health and Human Development
Penn State University, 106 Henderson Building, University Park, PA 16802-6500
Voice: 814-863-9951 FAX: 814-863-9950 EMAIL: clg@csph.psu.edu