aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2011-07-18 10:21:18 -0700
committerPaul Eggert2011-07-18 10:21:18 -0700
commitb59b67c56e338162437c045a8a0e2156bcde9a0b (patch)
treeca1307f544e189aa8c1125d353aaf76c2a038559 /src/alloc.c
parentbf2c1571f4085d3b52f37370f0bcdf7a23c53a50 (diff)
downloademacs-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