Files
mars-nwe/tests
OpenAI fb4934fddc
All checks were successful
Source release / source-package (push) Successful in 45s
tests: record AFP metadata rights negative smoke success
Document the verified Linux smoke-suite result for the AFP Set File Information metadata rights gate.

The suite now uses the existing ncpfs trustee utilities to grant NOPASSUSER only read/file-scan rights on the smoke file, then verifies that FinderInfo, Invisible, and System metadata writes are rejected with completion 0x8c while the SUPERVISOR positive path remains green.

This records the intended WebSDK/NWAFP adapter semantics: AFP-specific xattrs remain the storage for FinderInfo and AFP-only metadata bits, but writes to those xattrs are still file metadata changes and must pass mars_nwe's NetWare Modify trustee policy instead of bypassing it.

Tests:

- afp_smoke_suite.sh --readonly-user NOPASSUSER --readonly-no-password --prepare-readonly-rights

- FinderInfo negative Set File Information -> 0x8c

- Invisible negative Set File Information -> 0x8c

- System negative Set File Information -> 0x8c

- final nwrevoke cleanup succeeds

- suite summary failures=0
2026-05-30 17:25:03 +02:00
..