Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cpset(1m) [hpux man page]

cpset(1M)																 cpset(1M)

NAME
cpset - install object files in binary directories SYNOPSIS
object directory mode owner group]]] DESCRIPTION
The command installs the specified object file in the given directory. The mode, owner, and group, of the destination file can be speci- fied on the command line. If this data is omitted, two results are possible: o If you have administrative permissions (that is, your numerical ID is less than 100), the following defaults are provided: mode o 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 to move object to in the destination directory before installing the new object. reads the file to determine the final destination of the file to be installed. The file contains pairs of path names separated by spaces or tabs. The first name is the "official" destination (for example: The second name is the new destination. If is moved from to the entry in would be: When the actual installation happens, verifies that the "old" pathname does not exist. If a file exists at that location, issues a warning and continues. 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 variable is used to locate the destination file (in the form This is necessary in the cases where cross generation is being done on a production system. EXAMPLES
If you are an administrator, all of the following examples have the same effect. They copy file into with mode, owner, and group set to respectively: 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). cpset(1M)

Check Out this Related Man Page

install(1)						      General Commands Manual							install(1)

Name
       install - install binaries

Syntax
       install [-c] [-m mode] [-o owner] [-g group] [-s] binary destination

Description
       The  binary  is moved to destination.  If destination already exists, it is removed before binary is moved.  If the destination is a direc-
       tory then binary is moved into the destination directory with its original file-name.

       The command refuses to move a file onto itself.

Options
       -c		   Copies binary to destination.

       -g group 	   Specifies a different group from group staff for destination.  The destination is changed to group system; the -g group
			   option  may	be used to specify a different group.  The user must belong to the specified group and be the owner of the
			   file or the superuser.

       -m mode		   Specifies a different mode from the standard 755 for destination.

       -o owner 	   Specifies a different owner from owner root for destination.  The destination is changed  to  current  owner.   The	-o
			   owner option may be used to specify a different owner, but only the superuser can change the owner.

       -s		   Strips the binary after it is installed.

See Also
       chgrp(1), chmod(1), cp(1), mv(1), strip(1), chown(8)

																	install(1)
Man Page

2 More Discussions You Might Find Interesting

1. AIX

copy outgoing administrator privilege

Hi, How do I make sure I copied all privileges from previous administrator account? What files/path should I modify to make mine the same. Thanks in advance, Itik (1 Reply)
Discussion started by: itik
1 Replies

2. Shell Programming and Scripting

find + move if destination path does not exist

hi frnds, please help ... what will happen with below command if destination path does not exist on the system.... find /var/adm/cft* -mtime +1 -exec mv {} /global/ \ in unix its remove all my files from the system from soruce file ... how is it possbile (1 Reply)
Discussion started by: dodasajan
1 Replies