From 0cca0c209bef5b749c440aba7d5e940ee083e019 Mon Sep 17 00:00:00 2001 From: Connor Lane Smith Date: Sat, 11 Jun 2011 00:31:44 +0100 Subject: [PATCH] whoops, chmod = --- chmod.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chmod.c b/chmod.c index d3c77e9..0671721 100644 --- a/chmod.c +++ b/chmod.c @@ -51,6 +51,9 @@ chmodr(const char *path) case '-': st.st_mode &= ~mode; break; + case '=': + st.st_mode = mode; + break; } if(chmod(path, st.st_mode) == -1) eprintf("chmod %s:", path);