Important commands lose permissions after upgrades.
Hi,
This is the second apt-get dist-upgrade that i've done recently and
the second time i get this issue. After the upgrade, many important
commands lose permissions (i.e. chmod 000), which has caused me weird
boots and sometimes nagging the lists with incorrect problems - like
why isn't swap mounting or the clock one hour off.
# ls -l /usr/bin |grep ^--
---------- 1 root root 57552 2009-07-24 05:29 gpasswd
# ls -l /usr/sbin |grep ^--
---------- 1 root root 43952 2009-07-24 05:29 groupadd
---------- 1 root root 39528 2009-07-24 05:29 groupdel
---------- 1 root root 51752 2009-07-24 05:29 groupmod
---------- 1 root root 41992 2009-07-24 05:29 grpck
---------- 1 root root 36808 2009-07-24 05:29 grpconv
---------- 1 root root 36616 2009-07-24 05:29 grpunconv
---------- 1 root root 54640 2009-07-24 05:29 newusers
---------- 1 root root 36496 2009-07-24 05:29 pwck
---------- 1 root root 32592 2009-07-24 05:29 pwconv
---------- 1 root root 26992 2009-07-24 05:29 pwunconv
---------- 1 root root 9976 2009-08-13 13:35 rdev
---------- 1 root root 690400 2009-06-16 10:52 tcpdump
---------- 1 root root 9208 2009-08-13 13:35 tunelp
---------- 1 root root 85232 2009-07-24 05:29 useradd
---------- 1 root root 58160 2009-07-24 05:29 userdel
---------- 1 root root 83312 2009-07-24 05:29 usermod
---------- 1 root root 45288 2009-07-24 05:29 vipw
# ls -l /sbin |grep ^--
---------- 1 root root 23552 2009-08-23 18:14 badblocks
---------- 1 root root 5376 2009-08-13 13:35 ctrlaltdel
---------- 1 root root 86016 2009-08-23 18:14 debugfs
---------- 1 root root 15624 2009-08-23 18:14 dumpe2fs
---------- 1 root root 27408 2009-08-13 13:35 fsck.minix
---------- 5 root root 56864 2009-08-23 18:14 mke2fs
---------- 1 root root 6928 2009-08-13 13:35 mkfs
---------- 5 root root 56864 2009-08-23 18:14 mkfs.ext2
---------- 5 root root 56864 2009-08-23 18:14 mkfs.ext3
---------- 5 root root 56864 2009-08-23 18:14 mkfs.ext4
---------- 5 root root 56864 2009-08-23 18:14 mkfs.ext4dev
---------- 1 root root 18544 2009-08-13 13:35 mkfs.minix
halt, swapon and hwclock were also on the list but i've set them to
750. Is this a feature or is some package messing around? I did have
bastille a while ago but it gave me more problems than it solved so
i've long since purged it.
--
() ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\ ascii ribbon campaign - against html e-mail
Reply to: