diff options
| author | Paul Eggert | 2011-07-18 10:21:18 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-18 10:21:18 -0700 |
| commit | b59b67c56e338162437c045a8a0e2156bcde9a0b (patch) | |
| tree | ca1307f544e189aa8c1125d353aaf76c2a038559 /src/ChangeLog | |
| parent | bf2c1571f4085d3b52f37370f0bcdf7a23c53a50 (diff) | |
| download | emacs-b59b67c56e338162437c045a8a0e2156bcde9a0b.tar.gz emacs-b59b67c56e338162437c045a8a0e2156bcde9a0b.zip | |
* fileio.c (Fcopy_file): Adjust mode if fchown fails. (Bug#9002)
If fchown fails to set both uid and gid, try to set just gid,
as that is sometimes allowed. Adjust the file's mode to eliminate
setuid or setgid bits that are inappropriate if fchown fails.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a2891fa9c91..5de5fefd6aa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2011-07-18 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * fileio.c (Fcopy_file): Adjust mode if fchown fails. (Bug#9002) | ||
| 4 | If fchown fails to set both uid and gid, try to set just gid, | ||
| 5 | as that is sometimes allowed. Adjust the file's mode to eliminate | ||
| 6 | setuid or setgid bits that are inappropriate if fchown fails. | ||
| 7 | |||
| 1 | 2011-07-18 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2011-07-18 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 9 | ||
| 3 | * xdisp.c (next_element_from_string, next_element_from_buffer): Use EQ | 10 | * xdisp.c (next_element_from_string, next_element_from_buffer): Use EQ |