diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-02-07 20:36:06 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-02-07 20:36:06 -0800 |
commit | 6d6bb0cae29be50cb3e69d85df6cc0b6fee1ab9d (patch) | |
tree | 5a27a7e5b9d66ba03ea55ba31a70717a177d3a76 /Makefile | |
parent | 9dddf656328b2bcd76292aabc44112e99ad1b25a (diff) | |
download | txr-6d6bb0cae29be50cb3e69d85df6cc0b6fee1ab9d.tar.gz txr-6d6bb0cae29be50cb3e69d85df6cc0b6fee1ab9d.tar.bz2 txr-6d6bb0cae29be50cb3e69d85df6cc0b6fee1ab9d.zip |
chmod: fix broken umask application for implicit all.
* sysif.c (chmod_wrap): The umask logic is not activating
after the first iteration through the loop, because when who
is zero, we clobber it by adding the bits for u, g, and o.
Then on subsequent iterations, who is no longer zero.
Instead, let us leave the value of who alone, and in
all the relevant places, check for it being zero.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions