summary refs log tree commit diff
path: root/home/.bin/dtch.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-07-19 21:15:06 -0400
committerJune McEnroe <june@causal.agency>2017-07-19 21:15:06 -0400
commit56f57e376929e20560284aec737a41ccca2b9ee7 (patch)
tree6b233f8403089794e229bba4d85bae13c61abbb2 /home/.bin/dtch.c
parentAdd Light Terminal.app profile (diff)
downloadsrc-56f57e376929e20560284aec737a41ccca2b9ee7.tar.gz
src-56f57e376929e20560284aec737a41ccca2b9ee7.zip
chmod 600 in dtch
Diffstat (limited to '')
-rwxr-xr-xhome/.bin/dtch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/.bin/dtch.c b/home/.bin/dtch.c
index 1865716b..a37eeeeb 100755
--- a/home/.bin/dtch.c
+++ b/home/.bin/dtch.c
@@ -134,7 +134,7 @@ static int dtch(int argc, char *argv[]) {
     if (error) err(EX_IOERR, "%s", addr.sun_path);
     atexit(unlinkAddr);
 
-    error = chmod(addr.sun_path, S_IRWXU);
+    error = chmod(addr.sun_path, 0600);
     if (error) err(EX_IOERR, "%s", addr.sun_path);
 
     int master;