[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#493016: libc6: ldd doesn't work with ACLs



reassign 493016 bash
found 493016 3.1dfsg-8
notfound 493016 3.2-4
thanks

On Tue, Aug 05, 2008 at 05:25:17PM -0700, Jefferson Cowart wrote:
> $   echo "test -r ./pdficon" | strace /bin/sh -x

[snip]

> write(2, "+ test -r ./pdficon\n", 20+ test -r ./pdficon
> )   = 20
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> stat64("./pdficon", {st_mode=S_IFREG|0770, st_size=17209, ...}) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> read(0, "", 1)                          = 0
> exit_group(0)                           = ?
> Process 13351 detached

This is actually a problem in bash, which uses stat() to test read
access to a file. Recent versions of bash are using access() which takes
into account ACL.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: