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

Re: Debian Jessie - Incorrect permissions on /bin directory



Yves-Alexis Perez <corsac@debian.org> (2016-02-02):
> On mar., 2016-02-02 at 16:48 +0100, Yves-Alexis Perez wrote:
> > Good to know. I'm actually unsure if the problem lies in debootstrap or
> > somewhere else. debian-boot, any idea?
> 
> Running:
> debootstrap jessie jessie
> ls -dl jessie/bin
> drwxr-xr-x 2 root root 2240 Feb  2 17:02 jessie/bin
> 
> so it looks like it's not debootstrap itself (I've tried using jessie
> debootstrap)

Look at all packages installed by debootstrap. Loop over those shipping /bin:

drwxr-xr-x root/root         0 2014-09-08 09:01 ./bin/ in jessie-bin/var/cache/apt/archives/acl_2.2.52-2_amd64.deb
drwxr-xr-x root/root         0 2016-01-06 16:18 ./bin/ in jessie-bin/var/cache/apt/archives/base-files_8+deb8u3_amd64.deb
drwxr-xr-x root/root         0 2014-11-13 00:08 ./bin/ in jessie-bin/var/cache/apt/archives/bash_4.3-11+b1_amd64.deb
drwxr-xr-x root/root         0 2015-03-14 16:47 ./bin/ in jessie-bin/var/cache/apt/archives/coreutils_8.23-4_amd64.deb
drwxr-xr-x root/root         0 2015-03-05 12:31 ./bin/ in jessie-bin/var/cache/apt/archives/cpio_2.11+dfsg-4.1_amd64.deb
drwxr-xr-x root/root         0 2014-11-08 14:49 ./bin/ in jessie-bin/var/cache/apt/archives/dash_0.5.7-4+b1_amd64.deb
drwxr-xr-x root/root         0 2014-11-08 14:49 ./bin/ in jessie-bin/var/cache/apt/archives/debianutils_4.4+b1_amd64.deb
drwxr-xr-x root/root         0 2015-02-14 02:27 ./bin/ in jessie-bin/var/cache/apt/archives/grep_2.20-4.1_amd64.deb
drwxr-xr-x root/root         0 2014-09-26 21:41 ./bin/ in jessie-bin/var/cache/apt/archives/gzip_1.6-4_amd64.deb
drwxr-xr-x root/root         0 2013-11-03 15:41 ./bin/ in jessie-bin/var/cache/apt/archives/hostname_3.15_amd64.deb
drwxr-xr-x root/root         0 2015-04-06 20:44 ./bin/ in jessie-bin/var/cache/apt/archives/initscripts_2.88dsf-59_amd64.deb
drwxr-xr-x root/root         0 2014-09-05 16:57 ./bin/ in jessie-bin/var/cache/apt/archives/iproute2_3.16.0-2_amd64.deb
drwxr-xr-x root/root         0 2014-11-08 18:04 ./bin/ in jessie-bin/var/cache/apt/archives/iputils-ping_3%3a20121221-5+b2_amd64.deb
drwxr-xr-x root/root         0 2014-09-27 08:32 ./bin/ in jessie-bin/var/cache/apt/archives/kmod_18-3_amd64.deb
drwxr-xr-x root/root         0 2014-09-08 07:15 ./bin/ in jessie-bin/var/cache/apt/archives/less_458-3_amd64.deb
drwxr-xr-x root/root         0 2015-11-18 09:11 ./bin/ in jessie-bin/var/cache/apt/archives/login_1%3a4.2-3+deb8u1_amd64.deb
drwxr-xr-x root/root         0 2015-03-30 00:34 ./bin/ in jessie-bin/var/cache/apt/archives/mount_2.25.2-6_amd64.deb
drwxr-xr-x root/root         0 2014-07-16 18:56 ./bin/ in jessie-bin/var/cache/apt/archives/nano_2.2.6-3_amd64.deb
drwxr-xr-x root/root         0 2014-09-11 10:04 ./bin/ in jessie-bin/var/cache/apt/archives/netcat-traditional_1.10-41_amd64.deb
drwxr-xr-x root/root         0 2014-11-08 19:09 ./bin/ in jessie-bin/var/cache/apt/archives/net-tools_1.60-26+b1_amd64.deb
drwxr-xr-x root/root         0 2015-03-06 22:13 ./bin/ in jessie-bin/var/cache/apt/archives/procps_2%3a3.3.9-9_amd64.deb
drwxrwxr-x root/root         0 2014-11-08 19:28 ./bin/ in jessie-bin/var/cache/apt/archives/sed_4.2.2-4+b1_amd64.deb
drwxr-xr-x root/root         0 2015-11-21 20:00 ./bin/ in jessie-bin/var/cache/apt/archives/systemd_215-17+deb8u3_amd64.deb
drwxr-xr-x root/root         0 2015-04-06 20:44 ./bin/ in jessie-bin/var/cache/apt/archives/sysvinit-utils_2.88dsf-59_amd64.deb
drwxr-xr-x root/root         0 2014-11-08 19:48 ./bin/ in jessie-bin/var/cache/apt/archives/tar_1.27.1-2+b1_amd64.deb
drwxr-xr-x root/root         0 2015-11-21 20:00 ./bin/ in jessie-bin/var/cache/apt/archives/udev_215-17+deb8u3_amd64.deb
drwxr-xr-x root/root         0 2015-03-30 00:34 ./bin/ in jessie-bin/var/cache/apt/archives/util-linux_2.25.2-6_amd64.deb

Notice sed's being different.

I didn't check the whole archive, but doing so might be interesting.

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: