Software Distributor Administration Guide for HP-UX 11i
Creating Software Packages
Creating a Product Specification File (PSF)
Chapter 10 341
During an installation, the owner attribute is used to set the
owner name and uid, unless the owner name is not specified
or is not defined in the target system’s /etc/passwd file. In
this case, the uid attribute is used to set the uid.
-g
[group[,]][gid]
This option defines the file’s group name and/or gid at its
destination. If only the
group
is specified, then the group and
gid attributes are set for the destination file based on the
packaging host’s /etc/group. If only the gid specified, it is
set as the destination’s gid attribute and no group name is
assigned. If both are specified, each sets the corresponding
attribute for the file object.
During an installation, the group attribute is used to set the
group name and gid, unless the group name is not specified or
is not defined in the Target system’s /etc/group. In this
case, the gid attribute is used to set the gid.
-t
type
Defines a file of type d (directory), s (symbolic), h (hard link),
or a (archive) for files that need not exist before packaging.
-v This option marks the file as volatile, meaning it can be
modified (that is, deleted) after it is installed without
impacting the fileset.
Files that may have their attributes (size, last modified time,
etc.) changed through normal use after they are installed
should be specified in the PSF file as volatile (by specifying
-v on the line defining the file). swverify will not, by default,
check file attributes for files that have the is_volatile
attribute set to true (see the check_volatile option for
swverify).
Error Messages
When processing existing files in a source directory, swpackage identifies the
following four kinds of errors:
• Cannot search directory (permission denied)
• Cannot read the file (permission denied)
• Unsupported file type encountered (source file must be a control script,
regular file, directory, hard link or symbolic link)
• File does not exist