Skip to content

Conversation

@edwintorok
Copy link
Contributor

@edwintorok edwintorok commented Sep 4, 2024

This fails when running kojienv from WSL2, but works when running kojienv from an actual Linux. In a WSL2 kojienv /dev/loop0 is world writable (even though the user is not root), whereas in a real kojienv /dev/loop0 is not world writable.

This test was here just to test my assumptions that indeed non-root cannot create block devices, assumptions which are not true in WSL2, so remove this test.

In Dom0 we run as root always, so this has no effect on the product.

This fails when running kojienv from WSL2, but works when running kojienv from an actual Linux.
In a WSL2 kojienv /dev/loop0 is world writable (even though the user is not root),
whereas in a real kojienv /dev/loop0 is not wordl writable.

This test was here just to test my assumptions that indeed non-root cannot create block devices,
assumptions which are not true in WSL2, so remove this test.

In Dom0 we run as root always, so this has no effect on the product.

Signed-off-by: Edwin Török <edwin.torok@cloud.com>
@last-genius
Copy link
Contributor

typo in the commit title

@robhoes robhoes merged commit e9da493 into xapi-project:master Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants