Make each run's copy of the seed writable before the app starts

FE
16d ago
+3-0

The app images run as uid 1000. On a host whose user has another uid, such as a GitHub Actions runner (uid 1001), each run's copy of the seed belongs to that user, so the app cannot open its database for writing and exits at startup. The existing chmod -R a+rwX through docker exec runs only once the app is up, which it never is there; the Rust image, for one, stops with "attempt to write a readonly database".

This makes the copy readable and writable by everyone (a+rwX: files read/write, directories also searchable) right after prepare_storage, before the container starts. On a host whose user is uid 1000 nothing changes.

Checked: bin/check passes. With this change, bin/benchmark --apps rust completes on ubuntu-latest; without it, Rust fails to start there.