*BSD News Article 5103


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!mcsun!Germany.EU.net!unidui!du9ds3!veit
From: veit@du9ds3.uni-duisburg.de (Holger Veit)
Newsgroups: comp.unix.bsd
Subject: Re: getting mtools working (again) ?
Date: 16 Sep 92 07:46:05 GMT
Organization: Uni-Duisburg FB9 Datenverarbeitung
Lines: 40
Message-ID: <veit.716629565@du9ds3>
References: <1992Sep9.071926.6592@msuinfo.cl.msu.edu> <veit.716109291@du9ds3> <1992Sep15.153830.10336@oxphys.physioloxphys.physiol>
Reply-To: veit@du9ds3.uni-duisburg.de
NNTP-Posting-Host: du9ds3.uni-duisburg.de

In <1992Sep15.153830.10336@oxphys.physioloxphys.physiol> smg@oxphys.physiol (Steve Gough) writes:

>In article <veit.716109291@du9ds3> veit@du9ds3.uni-duisburg.de writes:
>> In <1992Sep9.071926.6592@msuinfo.cl.msu.edu> paoletti@cps.msu.edu (David R. Paoletti) writes:
[...about init: open: No such file or directory message in mtools...]
>>A non-root user has no R/W access to the floppies. Set the 
>>permissions to 666 for /dev/fd?[a-h]. This, however, introduces 
>>all dirty tricks that undermine security, so a probably better
>>idea could be 644.

>I had the same problem after I installed 386bsd.  It's not the permissions.
>The mtools in the binary distribution appear to be broken.  mread works
>fine, but mdir/mwrite/mattrib etc. abort with the above error message.

I didn't recompile mtools from scratch, but made the MAKEDEV fd0/fd1 in /dev
and manually changed the permissions to 666 after I once logged in as 
"me", not as root, and encountered the error message. I haven't seen it
again after that.

BTW, there was some recent patch of fd.c by pa-ola@proxxi.se, which
broke all, because it uses the fd minor number for the density. Although
a patch for mtools is available, you won't be able to build a working 
dist.fs kernel without messing around with the /dev's around everywhere.
I recommend not to apply this patch. It has been removed from
the unofficial/patches directory on ftp.uni-duisburg.de.

>Steve.
>-- 
> Stephen Gough               McDonnell-Pew Centre For Cognitive Neuroscience
> smg@physiol.ox.ac.uk        University Laboratory Of Physiology
> tel: +44 865 272514         Parks Road
> fax: +44 865 272469         Oxford OX1 3PT

Holger

-- 
|  |   / Dr. Holger Veit         | INTERNET: veit@du9ds3.uni-duisburg.de
|__|  /  University of Duisburg  | BITNET: veit%du9ds3.uni-duisburg.de@UNIDO
|  | /   Dept. of Electr. Eng.   | "No, my programs are not BUGGY, these are
|  |/    Inst. f. Dataprocessing |          just unexpected FEATURES"