cwfs: fix permissions for command channel
This commit is contained in:
parent
4b8734b7c5
commit
7d88fe0269
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue