]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: lib/bb/utils: prevent movefile from changing dest dir permissions
authorMattias Hansson <mattias.hansson@axis.com>
Tue, 10 Apr 2018 14:44:51 +0000 (16:44 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Apr 2018 16:26:05 +0000 (17:26 +0100)
commitc4338a9420b187b034f9a3658f8a168565ed1cbf
tree22fa0997da480ab96bf6c4a30c7a0472c8c64d74
parentb90e69401730310daa2bb09378cda8a833bb2e01
bitbake: lib/bb/utils: prevent movefile from changing dest dir permissions

Prevent movefile from falsely setting the source file's owner and
permissions on the destination directory instead of the destination
file when moving between devices.

This bug caused the last file moved into a directory to dictate the
directory's owner and permissions.

(Bitbake rev: 82ea737a0b42a8b53e11c9cde141e9e9c0bd8c40)

Signed-off-by: Mattias Hansson <mattias.hansson@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/utils.py