diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-03-27 10:02:59 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-03-28 11:05:25 -0700 |
commit | 5911eff83efedce91b856b54ae11d94692c7d71e (patch) | |
tree | b296c29af40e172589b6f56d68ec14c676ef2ded /NEWS | |
parent | 1a1c46afe29902a521ee4171304084dbc8cfcf5e (diff) | |
download | coreutils-5911eff83efedce91b856b54ae11d94692c7d71e.tar.xz |
chmod: fix symlink race condition
* NEWS: Document this.
* src/chmod.c (process_file): Don't follow symlink if we
think the file is not a symlink.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2,6 +2,12 @@ GNU coreutils NEWS -*- outline -*- * Noteworthy changes in release ?.? (????-??-??) [?] +** Bug fixes + + When recursing, chmod -R no longer gets confused into following a symlink + if some other process simultaneously replaces a non-symlink with a symlink. + The fix is effective on modern hosts with the fchmodat or lchmod syscalls. + [bug introduced in the beginning] * Noteworthy changes in release 8.16 (2012-03-26) [stable] |