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

Re: Important commands lose permissions after upgrades.



2009/8/25 Nuno Magalhães <nunomagalhaes@eu.ipp.pt>:
>> The first thing I would do in your situation is to make sure my disk
>> isn't dying. Run a forced fsck on all filesystems (including /) and use
>> smartctl (packege: smartmontools) to check your disk for errors.
>
> Erhm... the drive's fairily recent, it's a "Maxtor 160GB SATA II
> 7200RPM 8Mb Cache" from 2006. The system does the occasional fsck and
> the most recent (2-3 days ago) was on /. SMART reported the drive as
> beying ok, although i barely used it.
>
> This only happens if i dist-upgrade my system, so i assume it's some
> package i have and its pre/post scripts or something similar.

After running apt-get dist-upgrade again, this is what i get:

# ls -l /sbin |grep ^--
---------- 1 root root     5376 2009-09-20 23:14 ctrlaltdel
---------- 1 root root    88912 2009-09-20 23:14 fdisk
---------- 1 root root    27928 2009-09-20 23:14 fsck
---------- 1 root root    27408 2009-09-20 23:14 fsck.minix
---------- 1 root root    15192 2009-09-15 07:49 halt
---------- 1 root root    39920 2009-09-20 23:14 hwclock
---------- 1 root root    37408 2009-09-15 07:49 init
---------- 1 root root    15176 2009-09-15 07:49 killall5
---------- 1 root root     6928 2009-09-20 23:14 mkfs
---------- 1 root root    18544 2009-09-20 23:14 mkfs.minix
---------- 1 root root    17088 2009-09-20 23:14 mkswap
---------- 1 root root     4928 2009-09-15 07:49 runlevel
---------- 1 root root    21520 2009-09-20 23:14 swapon
# ls -l /bin |grep ^--
---------- 1 root root  29024 2009-08-28 05:30 ping6
# ls -l /usr/bin |grep ^--
---------- 1 root     root        57552 2009-07-24 05:29 gpasswd
# ls -l /usr/sbin |grep ^--
---------- 1 root     root       36504 2009-07-04 16:37 inetd
---------- 1 root     root       37040 2009-08-14 20:43 in.tftpd
---------- 1 root     root        9976 2009-09-20 23:14 rdev
---------- 1 root     root        6704 2009-07-02 22:52 tcpd
---------- 1 root     root       20296 2009-07-02 22:52 tcpdchk
---------- 1 root     root       16168 2009-07-02 22:52 tcpdmatch
---------- 1 root     root        9208 2009-09-20 23:14 tunelp

I don't think this is disk-related. Where else can i search for clues?

TIA,
Nuno Magalhães

-- 
()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\  ascii ribbon campaign - against html e-mail


Reply to: