cpset(1M) cpset(1M)
NAME
cpset - install object files in binary directories
SYNOPSIS
cpset [-o] object directory [mode owner group]
DESCRIPTION
cpset installs the object file in directory. You can
specify the mode, owner, and group of the destination file
on the command line. If you omit this data, there are two
possible results:
If you are using cpset with administrative permissions
(that is, your numerical ID is less than 100), it
provides the following defaults:
mode-0755
owner-bin
group-bin
If you are not an administrator, the destination file
will have your default, owner, and group.
-o move object to OLDobject in the destination directory
before installing the new object.
For example:
cpset echo /bin 0755 bin bin
cpset echo /bin
cpset echo /bin/echo
The above examples have the same effect (assuming they are
used by an administrator). They copy the file echo into
/bin and give 0755, bin, bin as the mode, owner, and group,
respectively.
cpset uses the file /usr/src/destinations to determine the
final destination of a file. This file contains pairs of
pathnames separated by spaces or tabs. The first name is
the "official" destination (for example: /bin/echo). The
second name is the new destination. For example, if you
move echo from /bin to /usr/bin, the entry in
/usr/src/destinations would be:
/bin/echo /usr/bin/echo
When the actual installation happens, cpset verifies that
the "old" pathname does not exist. If there is a file
there, cpset issues a warning and continues.
/usr/src/destinations is not distributed with the system;
sites use it to track local command movement. The
procedures building the source define the "official"
locations of the source.
Page 1 (last mod. 1/15/87)
cpset(1M) cpset(1M)
Cross Generation
The environment variable ROOT locates the destination file
(in the form $ROOT/usr/src/destinations). This is necessary
when cross generation is being done on a production system.
FILES
/usr/bin/cpset
SEE ALSO
make(1), install(1M).
Page 2 (last mod. 1/15/87)