Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!rochester!pt!sei!sei.cmu.edu!pdb
From: pdb@sei.cmu.edu (Patrick Barron)
Newsgroups: comp.unix.wizards
Subject: Re: Ultrix 1.2 uudecode file owner problem
Message-ID: <1788@aw.sei.cmu.edu>
Date: Fri, 3-Jul-87 02:32:51 EDT
Article-I.D.: aw.1788
Posted: Fri Jul  3 02:32:51 1987
Date-Received: Sun, 5-Jul-87 20:43:55 EDT
References: <644@uhccux.UUCP>
Sender: netnews@sei.cmu.edu
Reply-To: pdb@sei.cmu.edu (Pat Barron)
Organization: Carnegie-Mellon University, SEI, Pgh, Pa
Lines: 14

In article <644@uhccux.UUCP> david@uhccux.UUCP (David Lassner) writes:
>Ultrix 1.2 uudecode insists on creating files with root as the owner.  Is there
>a common solution that we're missing?  We don't have sources.

uudecode is generally installed setuid to 'uucp', ostensibly so that
you can mail uuencoded files to the user 'decode' on your machine, and
have them decoded into the uucppublic spool directory.  It will create
the files as owned by whoever owns uudecode.  On my Ultrix 1.2 system,
the system installation stuff installed uudecode setuid to 'uucp'. If your
uudecode is owned by 'root', I'd change it pretty quick since it opens up
horrible security holes.  Better yet, if you don't care about mailing
files to 'decode', then take the setuid bit off of uudecode entirely.

--Pat.