shithub: mq

Download patch

ref: 9191cdc2625cc518d179cc3ef91f16ccae99525e
parent: 2a7924ebb8565af34cacf5c59c7efb29f51747b0
author: Ori Bernstein <[email protected]>
date: Sat Mar 2 12:11:06 EST 2024

set DMDIR on root

--- a/mq.c
+++ b/mq.c
@@ -247,7 +247,7 @@
 		r->d.qid = r->fid->qid;
 		r->d.mtime = 0;
 		r->d.atime = 0;
-		r->d.mode = 0755;
+		r->d.mode = DMDIR|0755;
 		break;
 	default:
 		incref(queues[QIDX(p)]);