Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site ncrcae.UUCP
Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!mhuxj!mhuxr!ulysses!allegra!mit-eddie!genrad!decvax!mcnc!ncsu!ncrcae!wescott
From: wescott@ncrcae.UUCP (Mike Wescott)
Newsgroups: net.bugs.uucp
Subject: Re: System V introduces yet another inconsistency
Message-ID: <2120@ncrcae.UUCP>
Date: Fri, 1-Mar-85 11:48:10 EST
Article-I.D.: ncrcae.2120
Posted: Fri Mar  1 11:48:10 1985
Date-Received: Mon, 4-Mar-85 04:48:23 EST
References: <454@lsuc.UUCP>
Reply-To: wescott@ncrcae.UUCP (Mike Wescott)
Organization: NCR, Columbia, SC
Lines: 44
Keywords: uucp, uucppublic
Summary: 


+--------------------
|I tried this the other day with a site we talk to which is
|trying to follow the System V "standard". Lo and behold, the
|System V standard has "uucp" as a normal user whose home
|directory is /usr/lib/uucp, and the uucico login is "nuucp".
|
|Great. Why couldn't they leave well enough alone? Now, before
|I transfer anything to/from a remote site's public directory,
|I have to find out whether it's ~uucp or ~nuucp. (Or else
|use /usr/spool/uucppublic and hope they haven't chosen to put
|the public directory elsewhere.)
|
|Dave Sherman
+--------------------

In a sense they did leave well enough alone, the public uucp directory
which is not necessarily the home directory of uucp or nuucp can be
specified with a simple ~ :

	uucp xxx yyy!~

transfers xxx to machine yyy as /usr/spool/uucppublic/xxx (or whatever
directory is PUBDIR on yyy).  Similarly,

	uucp xxx yyy!~/zzz

ends up as /usr/spool/uucppublic/zzz/xxx.  And

	uucp xxx yyy!~/zzz/xyz

creates file /usr/spool/uucppublic/zzz/xyz on machine yyy.
Note the differences:
	~	PUBDIR
	~/x	directory PUBDIR/x
	~/x/y	file y in dirctory ~/x

It gets a little bewildering at times, trying to figure out what
the file will end up as on the remote.

Michael Wescott
NCR Corp.
mcnc!ncsu!ncrcae!wescott
usceast!ncrcae!wescott