]> 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>
Thu, 18 Oct 2018 15:47:59 +0000 (16:47 +0100)
commit7e311b0c7222fa9127a96945c9ded7bee5e40eb3
treef56cd6928526bdc9d2207e0a3cebdafdacff06c0
parentb17ae3e13dea4b12f1720170237142e04d5ab578
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.

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