UUCP(C) XENIX System V UUCP(C)
Name
uucp, uulog, uuname - Copies files from XENIX to XENIX.
Syntax
uucp [ option ] ... source-file ... destination-file
uulog [ option ] ...
uuname [ -l ]
Description
uucp copies files named by the source-file arguments to the
destination-file argument. A filename may be a pathname on
your machine, or may have the form:
system-name!pathname
where ``system-name'' is taken from a list of system names
which uucp knows about. Shell metacharacters ?*[] appearing
in pathname will be expanded on the appropriate system.
Pathnames may be a a full pathname, or a pathname preceded
by ~user where user is a user ID on the specified system and
is replaced by that user's login directory. Anything else
is prefixed by the current directory.
If the result is an erroneous pathname for the remote
system, the copy will fail. If the destination file is a
directory, the last part of the source filename is used.
uucp preserves execute permissions across the transmission
and gives 0666 read and write permissions (see chmod(S)).
uucp makes no distinction between binary and text files.
However, the set uid and set gid flags will not accompany
the binary file and must be set once the binary has arrived
at its destination. The appropriateness of the file
permissions and ownership should be checked.
The following options are interpreted by uucp:
-d Makes all necessary directories for the file copy.
-c Uses the source file when copying out rather than
copying the file to the spool directory.
-m Sends mail to you when the copy is complete.
-r Queues the job but does not start the file transfer
process. By default, a file transfer process is
started each time uucp is invoked.
-x num Provides debugging based on the value of num. For
Page 1 (printed 8/7/87)
UUCP(C) XENIX System V UUCP(C)
increasing
values of num, more information is given.
-n user Notifies user on remote system. If sending files,
the file's owner and group id's will be set to
those of the user.
uulog maintains a summary log of uucp and uux(C)
transactions in the file /usr/spool/uucp/LOGFILE by
gathering information from partial log files named
/usr/spool/uucp/LOG.*.?. uulog removes the partial log
files.
The options cause uulog to display log information:
-ssys
Displays information about work involving system sys.
-uuser
Displays information about work done for the specified
user.
uuname displays the uucp names of known systems. The -l
option returns the local system name. The format of ADMIN
is:
sysname tab description tab
Files
/usr/spool/uucp Spool directory
/usr/spool/uucppublic Public directory for receiving and
sending
/usr/lib/uucp/* Other data and program files
See Also
uux(C), mail(C), uuinstall(C), uuto(C)
Notes
For security reasons, all files received by uucp should be
owned by uucp.
The -m option will only work sending files or receiving a
single file. Receiving multiple files specified by special
shell characters ?*[] will not activate the -m option.
This version of uucp is based on a version 7 implementation.
Warning
For security reasons, file access should be, and usually is,
Page 2 (printed 8/7/87)
UUCP(C) XENIX System V UUCP(C)
severely restricted. You probably will not be able to copy
or manipulate arbitrary files, or execute many commands, on
a remote machine.
Similarly, you may not be able to send files to arbitrary,
remote pathnames. As distributed, the remotely accessible
files are in /usr/spool/uucppublic.
Page 3 (printed 8/7/87)