clearlinux / mixer-tools

Software update mixer and related tools
Apache License 2.0
28 stars 37 forks source link

Directory permission mismatch without filesystem package #738

Closed jwakre closed 4 years ago

jwakre commented 4 years ago

When the os-core bundle does not include the filesystem package, it can create directories with potentially undesirable permissions.

  1. Create mix that only uses content chroot bundles (no packages).
  2. In one of the content chroots, create the "usr/lib" directory with 0755 which are the permissions used by the filesystem package.

Mixer will create the usr/lib directory in the full chroot with 0655 permissions which will conflict with the content chroot.

gtkramer commented 4 years ago

My understanding was that filesystem was always a required package? There's a bit more backstory on this one. Maybe ask around a bit.

jwakre commented 4 years ago

@gtkramer Recently, we dropped the requirement for the filesystem package to support 3rd party repos.

https://github.com/clearlinux/mixer-tools/commit/af3ac917d7de5482fb5d291c37c7eafa8affc4ad

gtkramer commented 4 years ago

Interesting, thank you for the background!