kfs: 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 and cwfs.
This commit is contained in:
parent
ad91dc7ffb
commit
00eb2fa448
1 changed files with 1 additions and 4 deletions
|
@ -583,10 +583,7 @@ rootream(Device dev, long addr)
|
|||
strcpy(d->name, "/");
|
||||
d->uid = -1;
|
||||
d->gid = -1;
|
||||
d->mode = DALLOC | DDIR |
|
||||
((DREAD|DWRITE|DEXEC) << 6) |
|
||||
((DREAD|DWRITE|DEXEC) << 3) |
|
||||
((DREAD|DWRITE|DEXEC) << 0);
|
||||
d->mode = DALLOC | DDIR | 0775;
|
||||
d->qid = QID9P1(QPROOT|QPDIR,0);
|
||||
d->atime = time(0);
|
||||
d->mtime = d->atime;
|
||||
|
|
Loading…
Reference in a new issue