]> FriiDump Source - friidump.git/blobdiff - docs/BUILDING.md
Document exact-release Linux hardware validation
[friidump.git] / docs / BUILDING.md
index a9fb65a7f7d3ab4d1815eec79d9d5f4529df3619..ebe79263e37df624e61bdbaa02558385a49c0038 100644 (file)
@@ -26,13 +26,28 @@ cmake --build build
 ./build/src/friidump --help
 ```
 
 ./build/src/friidump --help
 ```
 
-The standalone repository candidate was tested with GCC 14.2 and CMake. The
-build succeeded. The inherited `libfriidump/rs.c` shift-count warning remains
-open and should be corrected only as a separately reviewed source change.
+The Linux configure step prints an explicit warning: a normal build does not
+install `CAP_SYS_RAWIO`. This is intentional. Build systems must not silently
+invoke `sudo` or elevate their output.
+
+After validating the exact executable, install only the capability required for
+vendor-specific SCSI commands:
+
+```bash
+bash ./validation/friidump-linux-rawio-capability.sh install   ./build/src/friidump
+```
+
+Do not run FriiDump itself with `sudo`. Rebuilding, relinking, copying, or
+replacing the executable clears file capabilities; reapply and verify after
+every build intended for GC/Wii memory-dump or Xbox vendor-unlock hardware use.
+See [`LINUX.md`](LINUX.md) for the complete permission model.
+
+The inherited `libfriidump/rs.c` shift-count warning remains open and should be
+corrected only as a separately reviewed source change.
 
 ## External runtime requirements
 
 
 ## External runtime requirements
 
-Dumping requires operating-system access to the selected optical drive.
-Privileges and device permissions vary by platform. Avoid broadly running
-unrelated tools with elevated privileges; grant only the access required for
-the optical device.
+Dumping requires operating-system access to the selected optical drive. Linux
+vendor-command paths require both device-node access and effective
+`CAP_SYS_RAWIO` on the exact validated executable. Grant only the minimum
+required authority.