summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJoël Esponde <joel.esponde@easymile.com>2019-06-27 11:12:04 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-28 00:02:44 +0100
commit0f82b53a650e76e0129fae6ce7581a41d042315b (patch)
tree08de65400fb1bac703939b2fed2409d0ee551aa0 /scripts
parent9f674a88c781c7092d5b3460922a1579b9fe4bf9 (diff)
downloadopenembedded-core-contrib-0f82b53a650e76e0129fae6ce7581a41d042315b.tar.gz
package.bbclass: fix directories setuid and setgid bits
populate_packages relies on ``mkdir`` to both create a directory and set its permissions. However, ``mkdir`` honors the ``umask`` value. Therefore, some bits may be lost in the operation. In our case, the setgid bit on the directories were lost. This commit fixes this by having a distinct call to create the directory and to set the permissions. Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@easymile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions