commit bc4a23ecabc7a178a5d27a075cc13cd0ba6fd2c2
Author: Mikhail Karpov <karpov.mixail24@gmail.com>
Date:   Thu Oct 8 01:53:46 2026 +0200

    storeio: Fix access mode of partition nodes

diff --git a/storeio/storeio.c b/storeio/storeio.c
index 910e3db76..d71a58832 100644
--- a/storeio/storeio.c
+++ b/storeio/storeio.c
@@ -870,7 +870,18 @@ netfs_attempt_write (struct iouser *cred, struct node *np, loff_t offset,
 error_t
 netfs_report_access (struct iouser *cred, struct node *np, int *types)
 {
-  return EOPNOTSUPP;
+  *types = 0;
+
+  if (fshelp_access (&np->nn_stat, S_IREAD, cred) == 0)
+    *types |= O_READ;
+
+  if (fshelp_access (&np->nn_stat, S_IWRITE, cred) == 0)
+    *types |= O_WRITE;
+
+  if (fshelp_access (&np->nn_stat, S_IEXEC, cred) == 0)
+    *types |= O_EXEC;
+
+  return 0;
 }
 
 struct iouser *
