When distributing a package whose source directory is on a NetWare server and distribution server is a NetWare server, SMS is not able to retain the shareable file attribute. NWATTRIB solves this by setting the shareable file attribute on files of a previously distributed package to match the attribute settings of the files in the package source directory.
Note A file attribute setting of no attributes (also called a normal attribute setting) is identical to a setting of the NetWare shareable attribute only. Because these two settings cannot be distinguished, files in a source directory with either setting are skipped; no changes are made to those files in the package directories. To avoid this, preset the archive attribute on all files in the source directory prior to setting the shareable attribute.
Alpha, x86
NWATTRIB.EXE
To set the attributes of the files in an SMS package on NetWare distribution servers to be the same as the attributes of the files in a source directory:
nwattrib /p:package_ID /d:source_dir [/ss:site_server] [/s] [/v]
To set the attributes of the files in an SMS package on NetWare distribution servers to be the same as the attributes in an attribute map file:
nwattrib /p:package_ID /a:attribute_map [/ss:site_server] [/v]
To write an attribute map file (which can be edited and used as input in the preceding command) containing a map of the attributes of the files in a source directory:
nwattrib /d:source_dir /a:attribute_map [/ss:site_server] [/s] [/v]
/a:attribute_map
Specifies a path to an attribute map file. If used with /d:source_dir, then a map of the attributes is written to attribute_map. If used with /p:package_ID, then attribute_map is used as input to set the attributes of the files in the package directories.
/d:source_dir
Specifies a path to a package source directory, which can be on a remote computer.
/p:package_ID
Specifies an SMS package ID, which determines which NetWare distribution servers and which package directories are used.
/ss:site_server
Specifies a site server. The default is the computer running NWATTRIB.
/s
Includes files in all subdirectories of the source directory and package directories.
/v
Verbose mode. More output is displayed on the screen.
/?
Provides a usage statement.