A fix is available
APAR status
Closed as program error.
Error description
ld fails with ld:fchmod() Not owner cc -o sleepme sleepme.c ld: 0711-856 ERROR: Cannot set the mode of the output file: sleepme ld:fchmod() Not owner One can see following error in truss output:- 1753146: 3641589: fchmod(7, 0775) Err#1 EPERM <<< fails here where EPERM from fchmod means; The effective user ID does not match the owner of the file, and the process does not have appropriate privileges. This problem can be seen on Aix machines running with Aix 5.3 TL11 or up Aix 6.1 TL04 or up
Local fix
Remove the executable created by user1 before attempting to rebuild the executbale by user2
Problem summary
If an output file is writable but owned by another user, the link fail with an error as fchmod() not owner.
Problem conclusion
To ignore the fchmod() errors other than the following cases. 1) No execute mode bits are currently set, and 2) Execute mode bits are needed.
Temporary fix
Comments
6100-09 - use AIX APAR IV50100 6100-09 - use AIX APAR IV50100 6100-09 - use AIX APAR IV50100 7100-03 - use AIX APAR IV49909
APAR Information
APAR number
IV49909
Reported component name
AIX V7.1
Reported component ID
5765H4000
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2013-09-24
Closed date
2013-09-24
Last modified date
2014-05-22
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.1
Fixed component ID
5765H4000
Applicable component levels
R710 PSY U853959
UP14/05/22 I 1000
PTF to Fileset Mapping
U853959 bos.rte.bind_cmds 7.1.3.15
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
22 May 2014