reference:iam_matrix
Differences
This shows you the differences between two versions of the page.
| reference:iam_matrix [2026/06/17 14:34] – created - external edit 127.0.0.1 | reference:iam_matrix [2026/06/17 14:35] (current) – privacyl0st | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== IAM & Permissions Matrix ====== | ||
| + | Because this ecosystem relies on a distributed NFS fabric (VLAN 50), mismatched User IDs (UIDs) or Group IDs (GIDs) between the compute nodes and the Synology NAS will result in catastrophic " | ||
| + | |||
| + | Use this matrix to ensure absolute consistency across all Linux hosts and Docker containers. | ||
| + | |||
| + | ===== Global Media Group ===== | ||
| + | To allow multiple distinct applications (Plex, qBittorrent, | ||
| + | |||
| + | * **Global Group Name:** `media` | ||
| + | * **Global Group ID (GID):** `1000` *(Must be identical on the NAS, VM-A, and Physical Host 2).* | ||
| + | |||
| + | ===== Application Execution Contexts ===== | ||
| + | ^ Application / Service ^ Host Environment ^ Execution User ^ User ID (UID) ^ Primary Group ^ Standard Umask ^ | ||
| + | | **Synology NFS Root** | NAS (VLAN 50) | `admin` | `1024` | `administrators` | N/A | | ||
| + | | **qBittorrent-nox** | VM-A (VLAN 10) | `qbituser` | `1001` | `media` (GID 1000) | `002` | | ||
| + | | **ARR Stack (Native)** | VM-A (VLAN 10) | `arruser` | `1002` | `media` (GID 1000) | `002` | | ||
| + | | **ByParr (Docker)** | VM-A (VLAN 10) | Mapped via ENV | `1002` (PUID) | `1000` (PGID) | `022` | | ||
| + | | **Plex Media Server** | Host 2 (VLAN 20) | `plex` | `1003` | `media` (GID 1000) | `022` | | ||
| + | | **Unmanic (Docker)** | Host 2 (VLAN 20) | Mapped via ENV | `1003` (PUID) | `1000` (PGID) | `022` | | ||
| + | |||
| + | ===== NFS Directory Baseline Permissions ===== | ||
| + | The root storage folder on the NAS (`/ | ||
| + | |||
| + | <file bash> | ||
| + | # Set directory ownership to the admin user and media group | ||
| + | sudo chown -R 1024:1000 / | ||
| + | |||
| + | # Force directories to 775 (User: RWX, Group: RWX, Others: R-X) | ||
| + | sudo find / | ||
| + | |||
| + | # Force files to 664 (User: RW, Group: RW, Others: R) | ||
| + | sudo find / | ||
| + | </ | ||
| + | |||
| + | // | ||
reference/iam_matrix.1781706861.txt.gz · Last modified: by 127.0.0.1
