]> code.ossystems Code Review - openembedded-core.git/commit
base-files: change permissions on /sys and /proc
authorDan McGregor <dan.mcgregor@usask.ca>
Wed, 17 Oct 2018 21:22:35 +0000 (15:22 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Nov 2018 16:32:30 +0000 (16:32 +0000)
commit26d5ceb33425fa85bc84b825609e1b45b13d3ddd
tree43291633bbbef80e52e89f670e4ad4b6a2669c11
parent0362788144c3eff36099d8812c85cc70e8736859
base-files: change permissions on /sys and /proc

The kernel mounts /proc and /sys with the mode 555. Fedora explicitly
sets this value in its filesystem setup package. Debian doesn't seem
to set it explictly.  Having them be 755 causes permission issues on
upgrades inside a container where the guest does not have the
permission to change the modes of the mount points.

So, just bite the bullet and force them to be 555.

(From OE-Core rev: 7e311b0c7222fa9127a96945c9ded7bee5e40eb3)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-core/base-files/base-files_3.0.14.bb