Agent.cfg - permissions for UNIX

The flags used for setting the configuration are the same as used by chmod and fchmod on UNIX. The flags are combined using | to get the desired permission level. The following table lists the available flags. A set of examples can be found at the end.

File permission flags

Flags

Permission Level

S_IRWXU

Read, write, execute by owner.

S_IRUSR

Read by owner.

S_IWUSR

Write by owner.

S_IXUSR

Execute (search if a directory) by owner.

S_IRWXG

Read, write, execute by group.

S_IRGRP

Read by group.

S_IWGRP

Write by group.

S_IXGRP

Execute by group.

S_IRWXO

Read, write, execute (search) by others.

S_IROTH

Read by others.

S_IWOTH

Write by others.

S_IXOTH

Execute by others.

Examples

  • UDR data directory permission: must be read, write, execute by owner
    UDR_DIRECTORY_PERMISSION = S_IRWXU|S_IRWXG|S_IRWXO
  • UDR data file permission: must be read, write by owner
    UDR_FILE_PERMISSION = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH
  • Log file permission: must be read, write by owner
    LOG_FILE_PERMISSION = S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH
Was this page helpful? Yes No Submitting... Thank you

Comments