ref: f9717bdca22ebe615483d2d86e879a28e331f3ff
parent: 1aa1e3bc3539a253d07471fe226d0535b05a41fd
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 5 09:13:40 EDT 2015
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.
--- a/sys/src/cmd/disk/kfs/sub.c
+++ b/sys/src/cmd/disk/kfs/sub.c
@@ -583,10 +583,7 @@
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;
--
⑨