SAP Knowledge Base Article - Preview

3413967 - inconsistent SAP ABAP system generated file permissions on OS level

Symptom

<SID>adm user is set with proper umask value however output files from SAP programs, jobs, log files are not in consistent with the setting. For example: <SID>adm user on OS level is with umask 22 and the output file from the same user is expected to be -rw-r--r-- (644). However SAP generated files are not always with -rw-r--r--. Usually two kinds of output file permissions are observed randomly on files even for the same job/task.

Active umask on SAP work process level could be retrieved in below way, (applicable to Linux only):

  1. log on OS with <SID>adm user
  2. switch into bash instead of SAP user default C-shell: in the command line type in "bash" then enter.  
  3. run below command in one line "pids=$(pgrep -f dw); for pid in $pids; do echo $pid; grep Umask /proc/$pid/status; done", enter.
  4. It returns a list of <PID> of active SAP work processes and each process's Umask value. If not set on purpose, usually two values can be found from the list.

Due to differences from group bit or other bit between different work processes, it could cause IO, permission problems in across systems and OS users communication.


Read more...

Environment

SAP ABAP stack instance on Linux or Unix Servers

Product

SAP NetWeaver all versions ; SAP S/4HANA all versions

Keywords

umask, install/umask, rdisp/umask, service/umask , KBA , BC-CST-DP , Dispatcher, Task Handler , BC-OP-LNX , Linux , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.