ZOMPermBoot

Generates a program to set user access permissions.

Syntax

ZOMPermBoot <object specification> [<option>...]

Options

;k <keyword> [!]

Assigns a keyword to the selected object(s). If the keyword is already assigned, this assignment is ignored. If "!" is specified, the keyword assignment is removed for the object(s).

;p <property> [!]

Set the specified user-designated property for the selected object(s). If "!" is indicated, the specified property is reset for the selected object(s).

;d <document name>

Specifies that the output is to be written to the indicated document. The document must be already created. If the ;d option is omitted, it indicates that the output is to be written to the screen.

;o [r] [a] [c|u] [d]

Indicates the permissions to set for the owner of the object. "r" represents "read" privilege, "a" represents "add" privilege, "c" (or optionally "u") represents "change" or "update" privilege, and "d" represents "delete" privileges.

;g [r] [a] [c|u] [d]

Indicates the permissions to set for members of the same group as the owner of the object. "r" represents "read" privilege, "a" represents "add" privilege, "c" (or optionally "u") represents "change" or "update" privilege, and "d" represents "delete" privileges.

;t [r] [a] [c|u] [d]

Indicates the permissions to set for users other than the owner or member of the same group for the object. "r" represents "read" privilege, "a" represents "add" privilege, "c" (or optionally "u") represents "change" or "update" privilege, and "d" represents "delete" privileges.

;a

If a document name is specified, the ;a option indicates that the output is to be appended to the end of the document. If the ;a option is omitted, it indicates that the output is to replace the contents of the document specified in ;d option.

;b

If a document name is specified, the ;b option indicates that you would like to browse the document file after the action is completed. The ;b option does not take effect if the ;d option was not used to specify an output document.

;w

If a document name was not specified, the ;w option sets pause on while the information is being listed to the screen. The ;w option does not take effect if output is directed to a document using the ;d option.

Comments

This generates a program consisting of permission statements which set the permissions for the objects indicated as specified in the option list. It is used to generate system bootstrap scripts.

Examples

The following command generates a program that, when executed, sets the permissions on the object "Customers" such that the owner, group and others all have full access privileges. The output is written to the document "SetCustPerms."

ZOMPermBoot Customers ;o racd ;g racd ;t racd ;d SetCustPerms

The following command generates a program that, when executed, sets the permissions on the object "Customers" such that the owner, has full access, and the group and others all have read access privileges. The output is written to the document "SetCustPerms."

ZOMPermBoot Customers ;o racd ;g r ;t r ;d SetCustPerms