Software Distributor Administrator Guide (September 2010)

-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.
On systems that support numeric groupnames, to specify
a numeric groupname, both the numeric groupname and
the gid must be supplied. If a numeric groupname alone
is specified, it is interpreted as a gid.
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
Using Directory and File Keywords
The following examples illustrate the use of the directory and file keywords.
250 Creating Software Packages