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/alloc.c | |
| 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/alloc.c')
0 files changed, 0 insertions, 0 deletions