Bug 990

Summary: findutils-4.1-24.i386.rpm
Product: [Retired] Red Hat Linux Reporter: jprosa
Component: findutilsAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1CC: jprosa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-03-25 00:01:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jprosa 1999-01-29 02:26:18 UTC
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 -------

Comment 1 Jeff Johnson 1999-03-25 00:01:59 UTC
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.