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

installbsd(1)						      General Commands Manual						     installbsd(1)

NAME
installbsd - Installs a command (BSD version) SYNOPSIS
installbsd [-cs] [-g group] [-m mode] [-o owner] file destination The installbsd command moves or copies a binary file to the specified destination file or directory. It is most often used in makefiles. OPTIONS
Copies file to destination rather than moving it. Specifies a group for the destination file. The default group is staff. Specifies the mode of the destination file. The default mode is 755. Specifies the owner of the destination file. The default owner is root. Causes the binary file to be stripped after installation (see strip(1)). DESCRIPTION
If destination is a file and such a file already exists, installbsd removes it before file is moved or copied. If destination is a direc- tory, file is moved or copied into that directory with its original filename. installbsd will not move a file onto itself. EXAMPLES
To install a new command called fixit, enter: installbsd -c -o henry fixit /usr/bin This installs a new command by copying the program fixit to /usr/bin/fixit, with user henry as owner. SEE ALSO
Commands: chgrp(1), chmod(1), chown(1), cp(1), install(1), make(1), mv(1), strip(1) installbsd(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