On 2016-02-02 20:01 +0100, Cyril Brulebois wrote: > HacKurx <hack...@gmail.com> (2016-02-02): >> 2016-02-02 18:59 GMT+01:00 Yves-Alexis Perez <cor...@debian.org>: >> > On mar., 2016-02-02 at 17:16 +0100, Cyril Brulebois wrote: >> >> Notice sed's being different. >> >> >> >> I didn't check the whole archive, but doing so might be interesting. >> > >> > Thanks for the investigation. That also means any package can change the >> > permissions on any folder (outside of /etc, I guess)? Or maybe it depends >> > on >> > the installation order? > > I suppose one would best check how extractors are called from > debootstrap, and how dpkg-deb/ar behave in such a case. Maybe one will > end up looking at how dpkg deals with different permissions for > directories shipped from multiple packages. First around, first served; > or the other way around; or the most permissive, etc.
First around, first served. It's always been this way, probably because directories are a shared resource and dpkg does not currently keep track of permissions in its database. Cheers, Sven