ostree/src
Colin Walters 3441a48c58 checkout: Ensure copies of unreadable usermode checkouts are readable
The extreme special case of "zero mode" files like `/etc/shadow`
comes up again.  What we want is for "user mode" checkouts to
override it to make the file readable; otherwise when operating
as non-root without `CAP_DAC_OVERRIDE` it becomes very difficult
to work with.

Previously, we were hardlinking these files, but then it intersects
with *another* special case around zero sized files, which is
*also* true for `/etc/shadow`.

Trying to avoid hardlinking there unveiled this bug - when
we go to do a copy checkout, we need to override the mode.
2020-09-16 15:14:54 +00:00
..
boot Fix mkinitcpio with newer systemd versions 2020-08-25 18:12:55 -04:00
libostree checkout: Ensure copies of unreadable usermode checkouts are readable 2020-09-16 15:14:54 +00:00
libotutil Add g_autoptr helper for pushing a thread default main context 2020-09-11 12:03:28 +02:00
ostree Avoid shadowing local variables 2020-09-13 10:08:02 -07:00
rofiles-fuse rofiles-fuse: Improve error message for failure to open root 2018-10-12 14:11:10 +00:00
switchroot ostree-remount: Remount /etc rw if needed 2020-08-28 14:16:46 -04:00