diff --git a/cmd/wm/fs.c b/cmd/wm/fs.c index 832ff62a..8574df1b 100644 --- a/cmd/wm/fs.c +++ b/cmd/wm/fs.c @@ -531,8 +531,6 @@ type2stat(Stat *stat, char *wname, Qid *dir) case FsDarea: case FsDws: case FsDdef: - case FsDkeys: - case FsDclass: case FsDtags: case FsDclients: case FsDbar: @@ -540,6 +538,10 @@ type2stat(Stat *stat, char *wname, Qid *dir) case FsDroot: return mkstat(stat, dir, wname, 0, DMDIR | DMREAD | DMEXEC); break; + case FsDkeys: + case FsDclass: + return mkstat(stat, dir, wname, 0, DMDIR | DMREAD | DMWRITE | DMEXEC); + break; case FsFctl: return mkstat(stat, dir, wname, 0, DMWRITE); break;