Kbase P99296: UNIX: What are the default permissions for sports2000 database or when a new database is created?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  27/12/2004 |
|
Status: Verified
GOAL:
What are the default permissions for a database when it is created?
GOAL:
What are the default permissions for the sports2000 database?
FACT(s) (Environment):
UNIX
FIX:
The default permissions for the sports2000 database as shipped by Progress is 666 which is equivalent to rw-rw-rw.
When a new database is created, the permissions are specific to the users umask setting.
The umask command is a UNIX Operating System command which allows a user to define what they would like their
default permissions to be for any file that this specific user creates. To determine your umask
setting type: umask at the UNIX prompt.
Example: $ umask <press return>
Sample output: 0002
The umask setting above means, 664 which is equivalent to rw-rw-r. So if the person associated with this umask
created a database, the default permissions for their database would be rw-rw-r--.