From d201dc097fa6920b37c16dd83ca7e52575223d2f Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 8 Feb 2020 08:47:44 -0800 Subject: chmod: ugo perms sees effects from same clause. This is Coreutils chmod behavior. * sysif.c (chmod_wrap): Sample cmode into oldm at the start of every assigment before punching the masked hole into cmode. * tests/018/chmod.tl: Breaking test case added. --- tests/018/chmod.tl | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/018/chmod.tl b/tests/018/chmod.tl index 93739c48..8cde28eb 100644 --- a/tests/018/chmod.tl +++ b/tests/018/chmod.tl @@ -46,3 +46,4 @@ (cht "-----x------" "=,a+X" "------------") (cht "-----x------" "a-x+X" "------------") (cht "------------" "u+x-X" "------------") +(cht "------------" "o+x=o" "-----------x") -- cgit v1.2.3