Commit Graph
4 Commits
Author SHA1 Message Date
jschoubben 894e2c89c2 H3 hard-links-left: an entry with more than one hard link keeps its owner in the owner pass, said in the journal
Builds: design 47 H2 H-A-579 (2), H-A-583 (4), H-A-604 (4)
2026-11-25 17:10:27 +01:00
jschoubben 9c40b4a3fb H2 owner-pass-with-units-stopped: the module's units and processes stop before the owner pass and start after it
Builds: design 47 H2 H-A-579 (1), H-A-602 (the pass back), H-A-641 (hq 6b8373ce), H-A-701 (hq 95cf2052)
2026-11-25 17:09:52 +01:00
jschoubben 684931e099 Give a directory's contents before the directory, matched by user
Review round 1: the contents are now given before the directory's own owner
changes, so a walk that fails leaves the directory as it was and the next apply
walks again; an entry gone meanwhile is nothing to give. An entry is matched by
its user alone: one of another user is left with everything below it, and one
given the new user gets the new group only where its group was the previous
group. A test now applies a directory whose owner changed, with stand-ins for
the chowns, and shows the contents given first and a placed child left.

Builds: design 47 H2 H-A-550, H-A-554 (2)
2026-11-23 12:25:59 +01:00
jschoubben d16c4cd003 A directory whose owner changes gives its contents the new owner
A module moved to an account of its own (runs-as) has files below its
directories that it wrote as the account it ran as before (gitea's webhook
secret, 0600, as the operator's account); the node-engine changed only the
directory's owner, so the new account could not read them. Now applyDirectory
and applyMeshDirectory give the new owner to what the previous owner held below
the directory, but never a path the declaration or another module's composition
places (and what lies below it), never an entry another account owns, never
through a link (Lchown) and never on another file system.

Builds: design 47 H2 H-A-545 (2), H-A-550
2026-11-23 12:07:40 +01:00