Vasek Potocek <address@hidden> wrote:
> I think I have found some bug in chmod.
...
> touch a
> mkdir b
> touch c
> cd b
> chmod a-x ../*
>
> makes a segmentation fault.
>
> The versions are:
> chmod (GNU coreutils) 5.93
> Fedora Core 5 on a i686 (2.6.16-1.2111_FC5)
> glibc 2.4
Thank you for the report. That bug was fixed in coreutils-5.94:
* Major changes in release 5.94 (2006-02-13) [stable]
...
** Bug fixes
...
fts-using tools (chmod, chown, chgrp, du) no longer fail due to
a double-free bug -- it could be triggered by making a directory
inaccessible while e.g., du is traversing the hierarchy under it.
The latest stable release is 5.96.