[Buildroot] Changing permission recursively

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Mar 13 06:31:31 UTC 2015

Dear Baruch Siach,

On Thu, 12 Mar 2015 19:55:28 +0200, Baruch Siach wrote:

> How about running the following from a post build script (untested):
> 	${HOST_DIR}/usr/bin/fakeroot -- chown -R UID:GID ${1}/path/to/directory

Does this actually works ?

My understanding of fakeroot is that you have to execute all the
fakeroot'ed commands under the same fakeroot invocation for the changes
made by these commands to actually have an effect.

Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering

More information about the buildroot mailing list