base-files ships /usr/src as 2755 in rpm (honister, kirkstone)
Hi,
I have a very strange issue, base-files and *-src rpm packages have permission conflicts for /usr/src.
As expected after reading the recipe and all the bbappends from the layers I use, it should use 0755 and according to devshell, it does:
$ bitbake -c install base-files
$ bitbake -c devshell base-files $ ls -ld image/usr/src drwxr-xr-x 2 root root 6 Jan 12 12:54 image/usr/src $ exit
But for some reason, the base-files rpm package ends up with 2755 for this directory:
$ bitbake base-files $ rpm -qp --dump deploy/glibc/rpm/intel_corei7_64/base-files-3.0.14-r0.intel_corei7_64.rpm 2>/dev/null | grep usr/src /usr/src 0 1302044400 0000000000000000000000000000000000000000000000000000000000000000 042755 root root 0 0 0 X
When I install a dbg and src subpackages for a package that I need to debug on the target machine, dnf and rpm complain about the conflicting permissions.
I have tested it in honister and kirkstone where it's an issue. In mickledore and nanbield it's not, *-src subpackages also use 2755.
What may have fixed this? I would like to backport it in my local trees.
Thanks in advance,
Zoltán Böszörményi