WEFT_OS/crates
Marco Allegretti 1928ffb661
fix(pack): never delete a data directory that was not moved
weft-pack uninstall moved earlier app data only when the package
manifest could be read and declared an app-data capability, and only
when the store path was spelled exactly as the user store; otherwise it
removed the package directory with the data in it. A directory left
holding only data by an earlier weft-appd, which has no manifest, was
deleted that way.

A data directory is now never removed with a package. In the user
store, recognised by its real location rather than its spelling, it is
moved when the package declares app data or its manifest cannot be
read; in every other case uninstall stops and changes nothing. Tests
cover a directory holding only data, a store reached through '..', a
symbolically linked home, an app without the capability and another
store.

weft-appd reports both locations when a move fails with an I/O error and
creates the data directory with mode 0700 instead of tightening it
afterwards.
2026-10-09 09:01:28 +00:00
..
weft-app-shell fix(app-shell): refuse encoded separators in the UI scope 2026-10-09 07:53:23 +00:00
weft-appd fix(pack): never delete a data directory that was not moved 2026-10-09 09:01:28 +00:00
weft-build-meta Initialize Rust workspace and repository metadata 2026-03-10 18:47:06 +01:00
weft-compositor fix(compositor): replace panic-prone unwraps with explicit error handling in winit and DRM backends 2026-03-13 13:56:57 +01:00
weft-file-portal fix(runtime): enforce effective capability grants per session 2026-10-09 08:08:58 +00:00
weft-ipc-types fix(appd): move only real app data and never replace a directory 2026-10-09 08:52:09 +00:00
weft-mount-helper feat: weft-mount-helper -- setuid helper for EROFS+dm-verity mounts 2026-03-11 15:43:59 +01:00
weft-pack fix(pack): never delete a data directory that was not moved 2026-10-09 09:01:28 +00:00
weft-runtime fix(runtime): close fetch and preopen gaps in grant enforcement 2026-10-09 08:25:40 +00:00
weft-servo-shell fix(appd): authorize WebSocket clients by role and session 2026-10-09 07:45:49 +00:00