LI77619: DEPENDENCY FILES FOR .CPP SOURCES ARE READ-ONLY
Fixes are available
XL C/C++ for Linux Fix Pack 8 (October 2015 Update) for 12.1
XL C/C++ for Linux Fix Pack 4 (October 2013 Update) for 12.1
XL C/C++ for Linux Fix Pack 5 (December 2013 Update) for 12.1
XL C/C++ for Linux Fix Pack 6 (February 2014 Update) for 12.1
XL C/C++ for Linux Fix Pack 7 (May 2014 Update) for 12.1
Closed as program error.
When compiling .c files with dependency file generation, the dependency file is created with permission -rw-rw-rw by default, plus the effect of umask. For .cpp files, however, the files are always created as -rw-r--r--. This creates problems during software development collaboration, since people in the same group cannot write over the dependency files created by other people in the group. $ umask 0 $xlc_r -MF t1.d -qmakedep=gcc test.c $xlC_r -MF t2.d -qmakedep=gcc test.cpp $ll *.d -rw-rw-rw- t1.d -rw-r--r-- t2.d
Manually modify file permission using chmod command.
PROBLEM DESCRIPTION: Dependency files for source compiled as C++ is created without write permissions for 'group' and 'other' USERS AFFECTED: Users of make dependency files requiring write permissions for 'group' or 'other' using an appropriate umask.
The permissions bits are now specified to be 0666 before application of the umask by the system.
Reported component name
XL C/C++ FOR LI
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
XL C/C++ FOR LI
Fixed component ID
Applicable component levels
RC10 PSN IV46836