Open System Services System Calls Reference Manual (G06.28+)

System Functions (k - m) lstat(2)
Table 41. Guardian File Type Mappings
Guardian st_mode
Example in /G File Type File Type Permissions
___________________________________________________________________
N/A Directory r-xr-xr-x
/G
vol Disk volume Directory rwxrwxrwx
vol/subvol Subvolume Directory rwxrwxrwx
vol/subvol/leid Disk le Regular le See following text
vol/#123 Temporary disk le Regular le See following text
ztnt Subtype 30 process Directory --x--x--x
ztnt/#pty0001 Subtype 30 process
with qualier
Character special rw-rw-rw-
vol1/zyq00001 Subvolume Directory ---------
A Guardian le classied as a directory is always owned by the super ID.
Guardian permissions are mapped as follows:
A Guardian network or any user permission is mapped to an OSS other permission.
A Guardian community or group user permission is mapped to an OSS group permission.
A Guardian user or owner permission is mapped to an OSS owner permission.
A Guardian super ID permission is an OSS super ID permission.
Guardian read permission is mapped to OSS read permission.
Guardian write permission is mapped to OSS write permission.
Guardian execute permission is mapped to OSS execute permission.
Guardian purge permission is ignored.
Users are not allowed read access to Guardian processes.
OSS le permissions are divided into three groups (owner, group, and other) of three permission
bits each (read, write, and execute). Note that the OSS permission bits do not distinguish
between remote and local users as Guardian security does; local and remote users are treated
alike.
Use on Remote Objects
The content of the st_dev eld of the stat structure is unique for each node in /E because each of
these is a separate leset. Values for directories within /E are the same as described for objects
on the local HP NonStop node.
The S_ISEXPANDOBJECT macro can indicate whether an object in the /E directory is on a
remote HP NonStop node when the st_dev eld is passed to the macro. The value of the macro
is TRUE if the object is on a remote HP NonStop node and FALSE otherwise.
527186-005 Hewlett-Packard Company 431