Wind River Support Network

HomeDefectsLIN5-5955
Fixed

LIN5-5955 : wrlinux 5.0.1 - permission problems when building from a read-only installation

Created: Mar 8, 2013    Updated: Dec 19, 2017
Resolved Date: Jul 11, 2013
Found In Version: 5.0
Fix Version: 5.0.1.5
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Build & Config

Description

when building a project based on a read-only wrlinux 5.0.1 install, and removing the project afterwards, leftovers remain.

bitbake_build/tmp/work-shared/wrl-toolchain-binaries-x86-64/usr/src/debug
ls -altotal 28
drwxr-xr-x  7 xxxx xxxx 4096 2013-02-20 18:50 .
drwxr-xr-x  3 xxxx xxxx 4096 2013-02-28 17:25 ..
dr-xr--r--  3 xxxx xxxx 4096 2013-02-20 18:50 expat
dr-xr--r--  9 xxxx xxxx 4096 2013-02-20 18:50 gcc
dr-xr--r--  9 xxxx xxxx 4096 2013-02-20 18:50 gdb
dr-xr--r--  6 xxxx xxxx 4096 2013-02-20 18:50 generated
dr-xr--r-- 56 xxxx xxxx 4096 2013-02-20 18:50 glibc

These files cannot be removed with a standard rm -rf *

Workaround

chmod -R u+w <project>

Steps to Reproduce

1. make the wrlinux install readonly
ex: sudo chmod -R 544 /home/xxxx/installs/wrlinux501-drop3/
2. create a project based on it (any BSP/kernel/fs)
3. remove the whole project directory (rm -rf * in the project's root)

Other Downloads


Live chat
Online