cwfs: fix permissions for command channel

This commit is contained in:
cinap_lenrek 2011-04-18 10:03:10 +00:00
parent 4b8734b7c5
commit 7d88fe0269

View file

@ -194,7 +194,7 @@ postservice(void)
/* 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 */