PERMISSION_SPOOLJOB_FILE parameter (defines permission for the files under the spool job directory) (UNIX only)
- Organization of this page
Format
#-adsh_conf PERMISSION_SPOOLJOB_FILE permission
Description
This parameter defines the new permission when the permission for the files under the spool job directory is to be changed when the job terminates.
Specifying this parameter also changes the permission for the directories located under the spool job directory. However, the permission for the files and directories in the directories located under the spool job directory does not change.
If this parameter is not specified, the permission for the files to be created under the spool job directory is as follows:
-
.DBG files: The permission is 666.
-
Files allocated by the #adsh_spoolfile command: The permission specified by the command or program that creates the files takes effect.
-
Files other than the above: The permission is 600.
Operands
Notes
-
If any of the following is specified for this parameter in an environment file, the job will terminate in an error without being executed:
-
This parameter is specified more than once.
-
No operand is specified.
-
More than two operands are specified.
-
A non-octal number or a value exceeding the value that can be specified for a permission is specified.
-
A value that is not three digits in length is specified.
-
-
The adshhk and adshevtout commands operate on the spool job directory and the files located under the spool job directory. When changing the permission, take into consideration the permission of the users who execute these commands.
-
If this parameter is defined in both the system environment file and the job environment file, the definition in the job environment file takes effect.
-
Specifying this parameter deletes the setuid and setgid bits of the files located under the spool job directory.
Example
-
This example sets the permission for the files located under the spool job directory to 744:
#-adsh_conf PERMISSION_SPOOLJOB_FILE 744