findutils-4.3.0 introduces a couple new filter switches to find (-readable, -writable, and -executable) that should return any items that have the corresponding permissions set. There's a new test in the testsuite for this option, but it fails when run as root. The test is: # tests for -readable, -writable, -executable exec rm -rf tmp exec mkdir tmp exec touch tmp/x tmp/w tmp/r tmp/rw tmp/rwx tmp/0 exec chmod 400 tmp/r exec chmod 200 tmp/w exec chmod 100 tmp/x exec chmod 000 tmp/0 exec chmod 600 tmp/rw exec chmod 700 tmp/rwx find_start p {tmp -readable -printf "r %p\n" , -writable -printf "w %p\n" , -executable -printf "x %p\n"} exec rm -rf tmp (the find_start line is equiv to `find {options} | sort`) The test looks for: r tmp r tmp/r r tmp/rw r tmp/rwx w tmp w tmp/rw w tmp/rwx w tmp/w x tmp x tmp/rwx x tmp/x which is what we get when run as a user. When run as root, we get: r tmp r tmp/0 r tmp/r r tmp/rw r tmp/rwx r tmp/w r tmp/x w tmp w tmp/0 w tmp/r w tmp/rw w tmp/rwx w tmp/w w tmp/x x tmp x tmp/rwx x tmp/x I'm assuming this is because every file is readable and writable when you're root. Because this is a base-system package, it shouldn't fail w/ FEATURES=test. We could either change the expected results to match what we get, or just disable this test i guess.
*** This bug has been marked as a duplicate of 122989 ***