[Devel] [PATCH hci-8.1] selftests: ve: grant the root directory as well

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Mon Nov 2 17:12:33 MSK 2026


> allow_path() grants every directory above a file except the root, so a
> fresh VE can reach the file only if the default permissions already let
> it traverse the root, as vzctl sets them at boot. Without that,
> ve_perms.sysfs.enforce_allows fails. Grant the root too, proc refuses an
> entry for its root with EINVAL, as its root is always reachable.
> 
> Fixes: ce7800c78ae9 ("selftests: ve: grant the directories the files sit in")
> Feature: fix selftests
> Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261102140914.2315569-1-eva.kurchatova@virtuozzo.com?part=1




More information about the Devel mailing list