cwfs: set permission of / to 0775 on ream
this allows members of the -1 group to create new directories in / without having to fiddle with the fileserver console. this also makes it consistent to hjfs.
This commit is contained in:
parent
7304deaec1
commit
ad91dc7ffb
1 changed files with 1 additions and 4 deletions
|
@ -721,10 +721,7 @@ rootream(Device *dev, Off addr)
|
|||
strcpy(d->name, "/");
|
||||
d->uid = -1;
|
||||
d->gid = -1;
|
||||
d->mode = DALLOC | DDIR |
|
||||
((DREAD|DEXEC) << 6) |
|
||||
((DREAD|DEXEC) << 3) |
|
||||
((DREAD|DEXEC) << 0);
|
||||
d->mode = DALLOC | DDIR | 0775;
|
||||
d->qid = QID9P1(QPROOT|QPDIR,0);
|
||||
d->atime = time(nil);
|
||||
d->mtime = d->atime;
|
||||
|
|
Loading…
Reference in a new issue