Here is the scenario: [nobody@limowrck /]$ whoami nobody [nobody@limowrck /]$ ls -al / total 49 drwxr-xr-x 24 root root 1024 Jan 23 15:53 . drwxr-xr-x 24 root root 1024 Jan 23 15:53 .. <snip> drwxr-x--- 3 root winblows 1024 Aug 19 17:24 dos </snip> [nobody@limowrck /]$ /usr/bin/updatedb find: error in /etc/mtab: /dos/dosc: Permission denied [nobody@limowrck /]$ df Filesystem 1024-blocks Used Available Capacity Mounted on /dev/hda2 365447 41661 304910 12% / df: /dos/dosc: Permission denied /dev/hda6 1088223 167720 864278 16% /home /dev/hda5 1088223 574930 457068 56% /usr /dev/hda8 497667 20008 451957 4% /var /dev/hda9 209960 25 199093 0% /tmp /dev/hda7 590862 13 560328 0% /spare1 /dev/hda12 1088223 519823 512175 50% /spare2 /dev/hda13 925064 13 877260 0% /spare3 Now why should it fail just because I close up a directory? BUG! :) The error should be ignored and the program be able to continue on. The file to fix is in find/fstype.[c,c.glibc] I'm posting a patch right now. (Its not the prettiest, but it works. :) ------- Email Received From %Junkhead% <jprosa.com> 01/28/99 21:31 -------
This changes the behavior of find in order to prevent an error message from updatedb. The error message is easily dealt with (using grep -V). BTW updatedb has been replaced in Red Hat 6.0.