aboutsummaryrefslogtreecommitdiffstats
path: root/poetry_restrict_plugin/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'poetry_restrict_plugin/plugin.py')
-rw-r--r--poetry_restrict_plugin/plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poetry_restrict_plugin/plugin.py b/poetry_restrict_plugin/plugin.py
index 13dfb0f..998743f 100644
--- a/poetry_restrict_plugin/plugin.py
+++ b/poetry_restrict_plugin/plugin.py
@@ -90,8 +90,8 @@ class RestrictPlugin(Plugin):
# Allow determining mime types. Used for ruamel.yaml installation.
ruleset.allow("/etc/mime.types", rules=FSAccess.READ_FILE)
- # Allow reading and writing shared memory
- ruleset.allow("/dev/shm", rules=FSAccess.READ_FILE | FSAccess.WRITE_FILE | FSAccess.READ_DIR)
+ # Allow working with shared memory
+ ruleset.allow("/dev/shm")
# Black cache access
ruleset.allow(