*BSD News Article 33582


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!EU.net!Germany.EU.net!news.dfn.de!rrz.uni-koeln.de!RRZ.Uni-Koeln.DE!teralon!easix!jester!michael
From: michael@jester.GUN.de (Michael Gerhards)
Subject: 1.1G: uucp: permission denied ?
Organization: private FreeBSD system - member of the IN e.V.
Date: Thu, 28 Jul 1994 19:18:26 GMT
X-Newsreader: TIN [version 1.2 PL2]
Message-ID: <Cto0B9.2EC@jester.GUN.de>
Lines: 32

Hi,

I upgraded from 1.02 to 1.1G and everything seemd to run very nice.
But today, I tried to use uucp to copy a file to a friends system and
the following happened:

When I started the command "uucp file system!~/file" as a normal user, I
got the message: "uucp: fopen(system/D./D.000A) permission denied".
( I'm using the /bin/sh, so I don't need to escape the ! )

If I execute the same command as root, the file is created, but uucp
aborts the transfer with "cannot open D.000A: permission denied",
because the file has permission 600 and is owned by root.
An uustat after the call sais the same thing.

I su'ed to uucp and tried to create the suspect file by hand and it
worked. Of course, the command uucp which failed has the correct perms:

-r-s--x--x    1 uucp     bin         81920 Apr 18 10:48 /usr/bin/uucp
-r-sr-xr-x    1 uucp     bin         90112 Apr 18 10:48 /usr/bin/uustat

I knwo that the problem seems to be a wrong permission anywhere in my
filesystem, but I can't find it.

/etc/uucp/* is permission 600 and owned by uucp.wheel
/var/spool/uucp/* is permission 755 and owned by uucp.daemon

Any hints are really appreciated.

Michael
-- 
michael@jester.GUN.de # Michael Gerhards , Preussenstrasse 59 , D 41464 Neuss