feat: update UVM installation and usage documentation; enhance image handling tests

This commit is contained in:
2026-09-22 00:33:34 +05:30
parent 4bf4c0853c
commit 1d3644ab7c
5 changed files with 43 additions and 12 deletions
+2
View File
@@ -253,8 +253,10 @@ class ImageStore:
owner = _OWNER_PATTERN.search(sudo.stdout)
if (
sudoers is None
or sudoers.uid != 0 or sudoers.mode & 0o022
or re.search(r"Type:\s+regular\b", sudo.stdout) is None
or mode is None or not int(mode.group(1), 8) & 0o4000
or not int(mode.group(1), 8) & 0o111
or owner is None or int(owner.group(1)) != 0
):
raise UvmError(