ref: ca32bdbe21c2092e50d6945950463a76520f499f
parent: 0f2488ea74810014cded7398098a29cdea01fcd2
author: kvik <[email protected]>
date: Wed Jan 27 11:46:44 EST 2021
mq: limit root directory permission
--- a/src/mq.c
+++ b/src/mq.c
@@ -666,7 +666,7 @@
default: usage();
}ARGEND;
- fs.tree = alloctree(nil, nil, DMDIR|0777, xdestroyfile);
+ fs.tree = alloctree(nil, nil, DMDIR|0775, xdestroyfile);
groupcreate(fs.tree->root, "/", nil, 0);
filesettype(fs.tree->root, Qroot);