feat: update UVM installation and usage documentation; enhance image handling tests
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user