bin/128493: [patch] find(1) exits if -fstype test fails with EACCES

Jilles Tjoelker jilles at stack.nl
Fri Apr 3 09:30:05 PDT 2009


The following reply was made to PR bin/128493; it has been noted by GNATS.

From: Jilles Tjoelker <jilles at stack.nl>
To: bug-followup at FreeBSD.org, ben at ben.com
Cc:  
Subject: Re: bin/128493: [patch] find(1) exits if -fstype test fails with
	EACCES
Date: Fri, 3 Apr 2009 18:26:22 +0200

 Such strange permissions on mount points break more than just statfs:
 non-root users will not be able to access .. in /bak. This is documented
 in the CAVEATS section of mount(8).
 
 In fact, find(1) aborts for me because of that (7.2-PRERELEASE).
 find: fts_read: Permission denied
 Your patch seems only helpful if you -prune away the problematic
 directories.
 
 I also notice that your patch does not apply because all tabs have been
 expanded to spaces.
 
 -- 
 Jilles Tjoelker


More information about the freebsd-bugs mailing list