refactor: move wallpaper.cache to 0:/state

This commit is contained in:
daniel committed 2026-10-17 10:53:36 +02:00
1 parent 14c7099e3b
commit 3c2eefe7f4
3 files changed
+19 -5

No files matched your search

+1 -1
View File
@@ -12,4 +12,4 @@
#pragma once
#define MONTAUK_BUILD_NUMBER 3
#define MONTAUK_BUILD_NUMBER 4
+5 -1
View File
@@ -29,9 +29,13 @@ namespace Fs {
{"/config/ssh.toml", false, montauk::abi::CAP_USER_ADMIN},
{"/config/capabilities.toml",false, montauk::abi::CAP_USER_ADMIN},
{"/config/consent.toml", false, montauk::abi::CAP_USER_ADMIN},
{"/config/wallpaper.cache", false, montauk::abi::CAP_USER_ADMIN},
// Read by the Bluetooth driver at controller bring-up.
{"/config/bluetooth.toml", false, montauk::abi::CAP_DEVICE_ADMIN},
// Login's wallpaper cache. The directory is listed for the same reason
// as /config: a rename only checks its own path, so an unlisted parent
// could be swapped for one holding a forged cache.
{"/state/cache", false, montauk::abi::CAP_USER_ADMIN},
{"/state/cache/wallpaper.cache", false, montauk::abi::CAP_USER_ADMIN},
{"/apps", true, montauk::abi::CAP_SYSTEM_IMAGE},
{"/os", true, montauk::abi::CAP_SYSTEM_IMAGE},
};