A fix is available
APAR status
Closed as program error.
Error description
Permission denied for /proc/<PID>/cwd for program with different group and SGID Bit set.
Local fix
Problem summary
If the user is part of more than one group, and if the user's current primary group id is different from the binary group id, and set the sgid(g+s) on the bianry, then readlink() will fail with error EACCESS(return code 13).
Problem conclusion
There is a bug is checking group id of the user with the binary. Modified the code to fix the issue.
Temporary fix
Comments
APAR Information
APAR number
IJ20206
Reported component name
AIX V7.2
Reported component ID
5765CD200
Reported release
720
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2019-10-10
Closed date
2019-10-10
Last modified date
2020-11-16
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX V7.2
Fixed component ID
5765CD200
Applicable component levels
R720 PSY U884088
UP20/11/04 I 1000
PTF to Fileset Mapping
U884088 bos.mp64 7.2.5.0
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSVEF8","label":"AIX 7.2 Enterprise Edition"},"Platform":[{"code":"PF053","label":"Power Systems"}],"Version":"720","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
09 March 2021