aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/case/pd.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-26 02:15:00 +0900
committerOphestra <cat@gensokyo.uk>2025-08-26 02:16:33 +0900
commit4cf694d2b31c7aa5c66cbb83d7d54c1a6cb1b4aa (patch)
treed4d964e10e8a50f60cc438ece76362b174e329c0 /test/sandbox/case/pd.nix
parentc9facb746b7be0f2d8f6b9b2227340ba2ec12060 (diff)
hst: use hsu userid for share path suffix
The privileged user is identifier to hakurei through its hsu userid. Using the kernel uid here makes little sense and is a leftover design choice from before hsu was implemented. Closes #7. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/case/pd.nix')
-rw-r--r--test/sandbox/case/pd.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sandbox/case/pd.nix b/test/sandbox/case/pd.nix
index 14b62b40..6bad3e73 100644
--- a/test/sandbox/case/pd.nix
+++ b/test/sandbox/case/pd.nix
@@ -186,8 +186,8 @@
(ent "/" "/run/user/1000" "rw,nosuid,nodev,relatime" "tmpfs" "ephemeral" "rw,size=8k,mode=755,uid=1000000,gid=1000000")
(ent "/" "/run/dbus" "rw,nosuid,nodev,relatime" "tmpfs" "ephemeral" "rw,size=8k,mode=755,uid=1000000,gid=1000000")
(ent "/" "/run/user" "rw,nosuid,nodev,relatime" "tmpfs" "ephemeral" "rw,size=4k,mode=755,uid=1000000,gid=1000000")
- (ent "/tmp/hakurei.1000/runtime/0" "/run/user/65534" "rw,nosuid,nodev,relatime" "ext4" "/dev/disk/by-label/nixos" "rw")
- (ent "/tmp/hakurei.1000/tmpdir/0" "/tmp" "rw,nosuid,nodev,relatime" "ext4" "/dev/disk/by-label/nixos" "rw")
+ (ent "/tmp/hakurei.0/runtime/0" "/run/user/65534" "rw,nosuid,nodev,relatime" "ext4" "/dev/disk/by-label/nixos" "rw")
+ (ent "/tmp/hakurei.0/tmpdir/0" "/tmp" "rw,nosuid,nodev,relatime" "ext4" "/dev/disk/by-label/nixos" "rw")
(ent ignore "/etc/passwd" "ro,nosuid,nodev,relatime" "tmpfs" "rootfs" "rw,uid=1000000,gid=1000000")
(ent ignore "/etc/group" "ro,nosuid,nodev,relatime" "tmpfs" "rootfs" "rw,uid=1000000,gid=1000000")
];