Skip to content

Commit 09425f8

Browse files
committed
Bugfix: fix macOS tmp path handling in artifact store
- compare resolved tmp root paths on both sides for /tmp symlink parity - ensure shared-permission logic runs on macOS (/tmp -> /private/tmp) - restore failing tmp permission tests for shared-root scenarios - 2026-02-28 12:24:55
1 parent 2cd5e0b commit 09425f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pypnm/pnm/lib/pnm_artifact_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def _ensure_tmp_pypnm_permissions(self) -> None:
126126
"""Ensure /tmp/pypnm uses shared-group permissions when configured as cache root."""
127127
expected = Path("/tmp/pypnm")
128128
try:
129-
if self._tmp_root.resolve() != expected:
129+
if self._tmp_root.resolve() != expected.resolve():
130130
return
131131
except OSError:
132132
if self._tmp_root != expected:

0 commit comments

Comments
 (0)