shithub: riscv

Download patch

ref: 7d88fe0269278966a1da1a8ab1160d7a0a6febb5
parent: 4b8734b7c50f1382da18fc447e9ce2830b872db3
author: cinap_lenrek <cinap_lenrek@localhost>
date: Mon Apr 18 06:03:10 EDT 2011

cwfs: fix permissions for command channel

--- a/sys/src/cmd/cwfs/main.c
+++ b/sys/src/cmd/cwfs/main.c
@@ -194,7 +194,7 @@
 
 	/* post cmd service */
 	snprint(buf, sizeof(buf), "#s/%s.cmd", service);
-	srvfd(buf, 0222, p[0]);
+	srvfd(buf, 0220, p[0]);
 	close(p[0]);
 
 	/* use it as stdin */
--