Consultor Eletrônico



Kbase 13693: Why prolog can change the permissions on the .lg file.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Why prolog can change the permissions on the .lg file.

The prolog utility will truncate your .lg file to a minimum number of
lines. It will then use the umask of the user issuing the prolog
command to set the permissions on the file.

If you notice that the permissions on the .lg file are changing after
issuing the prolog command, check the users umask. You can do this
by typing: umask <CR> at the unix prompt.

To ensure that the permissions of the .lg file remain 666 which reads
-rw-rw-rw-, change the umask to 001 for the user issuing the prolog
command.

If the permissions on the .lg file are not read/write, you may see
an error indicating you do not have permission to write to the .lg
file. This is because the .lg file is opened using the users
permissions. This is different from the database which is opened
using the setuserid permissions set on the executable.

Progress Software Technical Support Note # 13693