summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/1066
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-30 16:52:07 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-30 16:52:17 +0200
commit9260319e7411ff8281700a532caa436f40120ec4 (patch)
tree2f6bfe5f3458dd49d328d3a9eb508595450adec0 /gitlab/issues_text/target_missing/host_missing/accel_missing/1066
parent225caa38269323af1bfc2daadff5ec8bd930747f (diff)
downloadqemu-analysis-9260319e7411ff8281700a532caa436f40120ec4.tar.gz
qemu-analysis-9260319e7411ff8281700a532caa436f40120ec4.zip
gitlab scraper: download in toml and text format
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/1066')
-rw-r--r--gitlab/issues_text/target_missing/host_missing/accel_missing/106632
1 files changed, 32 insertions, 0 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/1066 b/gitlab/issues_text/target_missing/host_missing/accel_missing/1066
new file mode 100644
index 000000000..366dcf0ed
--- /dev/null
+++ b/gitlab/issues_text/target_missing/host_missing/accel_missing/1066
@@ -0,0 +1,32 @@
+virtfs fails to access contents of non-readable directories
+Description of problem:
+Attempting to access a directory inside a non-readable directory via virtfs fails.
+Steps to 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 information:
+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.