HP B2355-92068 Administration Manual page 146

System administration commands
Table of Contents

Advertisement

cpset(1M)
NAME
cpset - install object files in binary directories
SYNOPSIS
cpset
[
-o
DESCRIPTION
The
cpset
of the destination file can be specified on the command line. If this data is omitted, two results are possible:
c
• If you have administrative permissions (that is, your numerical ID is less than 100), the following
defaults are provided:
mode
owner
group
• If you do not have administrative permissions, the default mode, owner, and group of the destination
file are the same as yours.
The
option forces
-o
new object.
reads the
cpset
installed. The
name is the "official" destination (for example:
tion. If
echo
/usr/bin/echo
When the actual installation happens,
exists at that location,
This file does not exist on a distribution tape; it is used by sites to track local command movement. The
procedures used to build the source are responsible for defining the "official" locations of the source.
Cross Generation
The
environment
$ROOT/etc/src/destinations
done on a production system.
EXAMPLES
If you are an administrator, all of the following examples have the same effect. They copy file
/usr/bin
cpset echo /usr/bin 0555 bin bin
cpset echo /usr/bin
cpset echo /usr/bin/echo
If you are not an administrator, the last two examples set mode, owner, and group to your current values.
SEE ALSO
chacl(1), make(1), install(1M), acl(5).
146
Hewlett-Packard Company
] object directory [
-
mode [
command installs the specified object file in the given directory. The mode, owner, and group,
0555
bin
bin
to move object to
cpset
/etc/src/destinations
destinations
file contains pairs of path names separated by spaces or tabs. The first
is moved from
/usr/bin
/usr/local/bin/echo
issues a warning and continues.
cpset
variable
ROOT
). This is necessary in the cases where cross generation is being
with mode, owner, and group set to
-
owner [
-
group] ] ]
object in the destination directory before installing the
OLD
file to determine the final destination of the file to be
). The second name is the new destina-
/usr/bin/echo
to
, the entry in
/usr/local/bin
verifies that the "old" pathname does not exist. If a file
cpset
is
used
to
locate
the
0555
,
bin
,
bin
, respectively:
− 1 −
HP-UX 11i Version 2: December 2007 Update
cpset(1M)
would be:
destinations
destination
file
(in
the
echo
form
into

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-ux 11i

Table of Contents