ref: 1aa1e3bc3539a253d07471fe226d0535b05a41fd
parent: bf0946b7070f09967c86a1dc90bc1812fd7fa82c
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 5 09:06:11 EDT 2015
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.
--- a/sys/src/cmd/cwfs/sub.c
+++ b/sys/src/cmd/cwfs/sub.c
@@ -721,10 +721,7 @@
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;
--
⑨