Wind River Support Network


LIN1018-6204 : Wrong permissions on module.tgz file.

Created: May 25, 2020    Updated: Jul 9, 2020
Resolved Date: Jun 21, 2020
Found In Version: unknown
Fix Version:
Severity: Severe
Applicable for: Wind River Linux LTS 18
Component/s: Build & Config


When building WRL 8 with RCPL 30, with *lttng* as a feature.
 The directory *lib* inside the modules.tgz compressed file is bundled as user and not root.

Steps to Reproduce

--enable-board=qemuppc --enable-kernel=standard --enable-rootfs=glibc_std --enable-parallel-pkgbuilds=40 --enable-jobs=40 --with-package=gdb --enable-reconfig=yes --with-template=feature/lttng --with-rcpl-version=0030

add IMAGE_FSTYPES = "tar.gz" to local.conf


 tar --numeric-owner -tzvf qemuppc-linux-modules-WR8.0.0.30_standard.tgz

 tar --numeric-owner -tzvf qemuppc-wrlinux-image-glibc-std-standard-dist.tar.gz

For some reason, inside *qemuppc-linux-modules-WR8.0.0.30_standard.tgz* the lib directory is bundled as the user that created the build and in *qemuppc-wrlinux-image-glibc-std-standard-dist.tar.gz* lib is bundled as root root.
Live chat