From 2d3cbdec301c592daa2faff8e1ca1cab155ebb58 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Mon, 7 Sep 2026 00:58:37 +0200 Subject: chore(node): finish Phase 3 — CLI deprecations, Windows shapes, docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `member upload` reached the generic usage line for the other `member` verbs — "usage: meshbay-node member upload " — which advertises a removed feature and sends the operator looking for a username it would then reject. It names `root set --writable` now, and the man page carries the same. Three lines between an operator finding the replacement and concluding the CLI is broken. `--upload-dir` still works, so an existing script keeps working, but its help and the man page say it is the old spelling and name what replaced it. The Windows pass (§4.4) is what can be checked from here, made checkable: drive letters and UNC through `as_posix()` into TOML, a drive root having no basename to derive a name from — sharing a whole drive is ordinary there — and a case-insensitive collision, which on NTFS and exFAT is one directory indexed as two roots. `PureWindowsPath` throughout, for the reason the backslash test earlier this branch got wrong. What it cannot check is written down rather than glossed: ReadDirectoryChangesW dropping events, MAX_PATH, and whether an eject actually lets a drive be removed. §7d says so, along with two things the plan never considered — the RO/RW asymmetry in `_do_dir_delete`, and `index_delta` carrying roots but not `dirs`. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_011pvMdvLBG92jyhvD5pD6us --- man/meshbay-node.1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'man/meshbay-node.1') diff --git a/man/meshbay-node.1 b/man/meshbay-node.1 index 92067a2..890da89 100644 --- a/man/meshbay-node.1 +++ b/man/meshbay-node.1 @@ -167,6 +167,14 @@ encryption key on their next connection. Rotate the GEK afterwards with \fBmember unpin\fR \fIusername\fR Forget a member's pinned key, allowing them to pair again with a new one. . +.TP +.B member upload +Removed. Whether uploads are accepted is a property of each directory now, not +a per\-group switch \(em see +.BR "root set" . +A group whose directories are all read\-only accepts no uploads at all, which +is what turning the old switch off meant. +. .SS Group encryption key (GEK) .TP .B gek init @@ -272,6 +280,15 @@ and makes the node treat the directory suddenly disappearing as an unannounced eject rather than as a deletion. . .TP +\fB\-\-upload\-dir\fR \fIpath\fR +Deprecated. A second, read\-write root, used with +.BR "group add" , +from before roots carried their own read\-write flag. Setting it makes every +other root of that group read\-only. Use +.B "meshbay\-node root add" \fIpath\fR \fB\-\-writable\fR +instead. +. +.TP \fB\-\-name\fR \fIname\fR Explicit name for a root, used with .BR "root add" . -- cgit v1.2.3