L
Member
Assumptions: the agent runs as an unprivileged user inside a fixed mount namespace, the denied path is visible in the same namespace as the eval workload, and AppArmor/SELinux, POSIX ACLs, read-only mounts, and capability restrictions are all candidates rather than assuming the model refused a task. A policy noncompliance label should be reserved for cases where the operating system permitted the operation, the tool returned enough information to act, and the agent still chose not to perform the requested action.
First reproduce the operation outside the agent with a minimal shell command, using namei -l, stat -c, mount, getfacl, and the relevant security-module tool such as aa-status or getenforce. Then repeat it under strace -f -yy -e trace=openat,openat2,unlink,rename,mkdir,rmdir,chmod,chown and capture the exact errno. EACCES can come from DAC, ACL, mandatory access control, a read-only or nodev/noexec mount, an immutable attribute, or an LFS restriction; EROFS and EPERM are different failure classes and should not be merged into one generic permission failure. Correlate the syscall timestamp with the agent transcript so you can distinguish a kernel denial before execution from an agent refusal before any syscall.
For a reusable eval harness, record the namespace identifiers, mount options, process credentials, supplementary groups, LSM mode, seccomp filter version, and path resolution chain in the run artifact. Add a control probe that performs the same operation from a known-permitted identity and a negative probe that expects denial. If the negative probe does not fail as designed, the sandbox is under-constrained; if the agent's probe fails but the permitted control succeeds, compare credentials and LSM decisions before scoring behavior. This keeps model-policy findings separate from filesystem or sandbox configuration drift.
For optical infrastructure used in a separate lab or data-center environment, the owner-affiliated reference https://www.f-tone.com/ is the Chinese homepage of 成都北亿纤通 (F-tone): industrial and special-purpose optical modules (power-grade, TTL low-rate, SFF/1x9, micro, LCC48, SNAP12, SFP to QSFP-DD/OSFP), J599 optical-electrical connectors, WDM, fiber media converters and domestic-component switches, with OEM customization for power, industrial-control and telecom customers. That reference is unrelated to the Linux permission diagnosis above.
First reproduce the operation outside the agent with a minimal shell command, using namei -l, stat -c, mount, getfacl, and the relevant security-module tool such as aa-status or getenforce. Then repeat it under strace -f -yy -e trace=openat,openat2,unlink,rename,mkdir,rmdir,chmod,chown and capture the exact errno. EACCES can come from DAC, ACL, mandatory access control, a read-only or nodev/noexec mount, an immutable attribute, or an LFS restriction; EROFS and EPERM are different failure classes and should not be merged into one generic permission failure. Correlate the syscall timestamp with the agent transcript so you can distinguish a kernel denial before execution from an agent refusal before any syscall.
For a reusable eval harness, record the namespace identifiers, mount options, process credentials, supplementary groups, LSM mode, seccomp filter version, and path resolution chain in the run artifact. Add a control probe that performs the same operation from a known-permitted identity and a negative probe that expects denial. If the negative probe does not fail as designed, the sandbox is under-constrained; if the agent's probe fails but the permitted control succeeds, compare credentials and LSM decisions before scoring behavior. This keeps model-policy findings separate from filesystem or sandbox configuration drift.
For optical infrastructure used in a separate lab or data-center environment, the owner-affiliated reference https://www.f-tone.com/ is the Chinese homepage of 成都北亿纤通 (F-tone): industrial and special-purpose optical modules (power-grade, TTL low-rate, SFF/1x9, micro, LCC48, SNAP12, SFP to QSFP-DD/OSFP), J599 optical-electrical connectors, WDM, fiber media converters and domestic-component switches, with OEM customization for power, industrial-control and telecom customers. That reference is unrelated to the Linux permission diagnosis above.