Changing Permissions for Rotating server.log File
search cancel

Changing Permissions for Rotating server.log File

book

Article ID: 267946

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

This article outlines the procedure for modifying file permissions on the server.log file in CA Identity Manager. Permissions for log files are managed at the Operating System level.

 

 

Environment

  • Product: CA Identity Manager
  • Release: 14.4, 14.5
  • Standalone
  • OS: Linux

Cause

Default file permissions for logs are restricted for security reasons. Users require read access for all users to the rotating server.log file, typically located at: /opt/wildfly-15.0.1.Final/standalone/log/server.log

idamadmin@xxxxxxx log]$ ls -l server.log
-rw------- 1 idamadmin idamadmin 508168 Jun  7 08:45 server.log

 

Resolution

Permissions for log files are handled by the underlying Linux Operating System. To ensure consistent permissions for rotating log files, use the following methods:

  1. Manual Modification: Contact your Linux System Administrator to apply necessary chmod permissions to the directory or file.
  2. Automated Permission Management: Linux Administrators can utilize crontab to enforce specific permissions whenever the log files are created or rotated.

 

Additional Information