Kbase 15540: .lg log file permissions change running prolog from script
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
.lg log file permissions change running prolog from script
A bug has been reported against version 6.3 with running prolog from
a script changing UNIX file permissions on the Progress log (.lg)
file. This bug has been fixed for version 7.3 and above.
To work around this in version 6, the "umask" command should be
used prior to the prolog command in the script. Example:
#!/bin/sh
# Call a script that sets Progress environment variables.
. setup_dlc_vars
# Call a script that sets PATH to include Progress env variables.
. setup_path_vars
# Set umask to 0
umask 0
prolog /absolute/path/to/database
This causes the dbname.lg to have the permissions:
-rw-rw-rw- 1 prouser 55 Mar 5 11:19 db.lg
MAR-6-1996
Progress Software Technical Support Note # 15540