You can find more information about file permissions in the section ???Understanding File
Permissions??? in Chapter 2.
Unlike dpkg-divert, dpkg-statoverride does not keep track of the original file permissions.
As a result, removing an override does not restore the old permissions. After removing the override,
you need to either set the permissions manually or reinstall the package that contained the file:
NOTE
NOTE
324
Choosing and Installing a Linux Distribution Part III
# dpkg-statoverride --remove /usr/bin/wall
# apt-get --reinstall install bsdutils
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/62.5kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n]Y
(Reading database ... 16542 files and directories currently installed.)
Preparing to replace bsdutils 1:2.12-10 (using .../bsdutils_1%3a2.12-
10_i386.deb) ...
Unpacking replacement bsdutils ...
Setting up bsdutils (2.12-10) ...
Managing Package Configuration with debconf
All packages that include support for configuration management through debconf are configured
as they are being installed. If you want to change a configuration option later, you can do so using
the dpkg-reconfigure command.
Pages:
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667