From 4b927bc37359dec23f67d3427fc982945f24f404 Mon Sep 17 00:00:00 2001 From: Christian Krinitsin Date: Wed, 21 May 2025 21:21:26 +0200 Subject: add gitlab issues in toml format --- .../host_missing/accel_missing/1066.toml | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 gitlab/issues/target_missing/host_missing/accel_missing/1066.toml (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/1066.toml') diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/1066.toml b/gitlab/issues/target_missing/host_missing/accel_missing/1066.toml new file mode 100644 index 00000000..6d731643 --- /dev/null +++ b/gitlab/issues/target_missing/host_missing/accel_missing/1066.toml @@ -0,0 +1,40 @@ +id = 1066 +title = "virtfs fails to access contents of non-readable directories" +state = "opened" +created_at = "2022-06-06T14:50:03.134Z" +closed_at = "n/a" +labels = ["block:9p"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1066" +host-os = "Linux Gentoo" +host-arch = "x86_64" +qemu-version = "7.0.0" +guest-os = "Linux" +guest-arch = "x86_64" +description = """Attempting to access a directory inside a non-readable directory via virtfs fails.""" +reproduce = """On host: +1. `mkdir -p test/foo/bar` +2. `echo hello world >test/foo/bar/baz.txt` +3. `chmod -r test/foo` + +The following works on host: + +``` +$ ls test +foo +$ ls test/foo +ls: cannot open directory 'test/foo': Permission denied +$ ls test/foo/bar +baz.txt +``` + +However on guest: + +``` +bash-5.1# ls /test/ +foo +bash-5.1# ls /test/foo/ +ls: cannot open directory '/test/foo/': Permission denied +bash-5.1# ls /test/foo/bar/ +ls: cannot access '/test/foo/bar/': Permission denied +```""" +additional = """I am guessing virtfs attempts to check rights (via access?) on the directory itself when obtaining an inode to give to the guest, however not having read access doesn't mean something can't be executed, especially for directories.""" -- cgit 1.4.1