Client files have several attributes that are not available
in HP-UX. These include the hidden, system, and archive attributes.
The Advanced Server/9000 uses the group field of a file to represent
these bits.
If the group of the file or directory is one of the eight
special Advanced Server UNIX system groups DOS----,
DOS-a--, DOS--s-,
DOS---h, DOS-as-,
DOS--sh, DOS-a-h,
DOS-ash, or the
HP-UX system group of other
- then the group permissions apply. The Advanced Server/9000 makes
use of the group field to indicate if a file is hidden (h),
system (s), or
archive (a).
It uses these group names to identify the various combinations of
attributes.
File and Directory Creation Using keepunixgroups
Whenever files or directories are created, they are created
with the group ID being one of the Advanced Server/9000 groups.
For directories, it is the group DOS----. Files have the DOS-* group
that matches the attributes (hidden, system, or archive) that are
specified by the client.
The lanman.ini parameter keepunixgroups
allows retaining the UNIX group ID field instead of replacing it
with the DOS attributes. Refer to the section "Configuring
keepunixgroups to Retain UNIX GIDs or DOS Attributes" in
this document for details.
 |
 |  |
 |
 | NOTE: If keepunixgroups
is set to yes,
the UNIX group name will govern the ownership of the file and will
not be one of the Advanced Server group names. Therefore, the DOS
attributes "archive", "system",
and "hidden" have no meaning and modifying those
attributes has no effect on the attributes. Only the "read-only"
attribute is significant. |
 |
 |  |
 |
When files or directories are created by the Advanced Server/9000,
the permissions for owner and group are identical. By default, files
are created rw- owner, rw- group,
and r-- other, and directories
are created rwx owner,
rwx group, and r-x other.
These defaults can be changed with the registry values UnixDirectoryPerms
and UnixFilePerms.
Other DOS file attributes, such as read-only and directory,
do have HP-UX equivalents. These are mapped into the HP-UX file
system directly.