[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Jessie - Incorrect permissions on /bin directory



On 2016-02-02 20:01 +0100, Cyril Brulebois wrote:

> HacKurx <hackurx@gmail.com> (2016-02-02):
>> 2016-02-02 18:59 GMT+01:00 Yves-Alexis Perez <corsac@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


Reply to: