commit 09854b708feef2a61cb9b56197c03d4b4a1e55fc parent 4953771833f88278c3109e0b40d5746f9004fc9b Author: sin <sin@2f30.org> Date: Wed, 21 Aug 2013 09:13:25 +0100 Set umask to 0 Diffstat:
M | smdev.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/smdev.c b/smdev.c @@ -39,6 +39,7 @@ main(int argc, char *argv[]) if (!sflag) usage(); + umask(0); recurse("/sys/devices", sysrecurse); return 0;