[OE-core] HA: [PATCH] util-linux: fix owner and group for binaries in resulting image

Burton, Ross ross.burton at intel.com
Tue May 7 20:08:16 UTC 2019


On Tue, 7 May 2019 at 13:47, Popov Anton <Anton.Popov at t-platforms.ru> wrote:
> I don't think so. At the moment we are using rocko release and found this problem in util-linux-2.30 recipe.
>
> the problem is that util-linux builds with regular user permissions and result files are owned by user with uid 1000 in our case. for most of binaries in /bin and /sbin generated by util-linux this permissions issue is not a problem (Because all binaries has o+x set). But for those of them who have suid bit setted it became a real trouble.

Can you give an example of a concrete filename and demonstrate this by
e.g. listing the contents of a package from deploy?  For example with
master:

$ dpkg-deb  -c util-linux-mount_2.32.1-r0_corei7-64.ipk
-rwsr-xr-x root/root     47152 2019-05-07 14:40 ./bin/mount.util-linux

Permissions look right to me.

Ross


More information about the Openembedded-core mailing list