Samba Architecture
Provides a single Samba share that gives every automation service one consistent place to read and write data. The unified share (Cornucopia) keeps ownership predictable, avoids permission issues, and organizes everything into clear folders for downloads, final media, and static site content. ACLs and a shared service group ensure Sonarr, Radarr, qBittorrent, NZBGet, and Prowlarr all work together smoothly, keeping the entire media pipeline stable and easy to maintain.
Share Definition
Code
[Cornucopia]
path = /media/plutus
comment = Shared RAID Array, Plutus
browsable = yes
writable = yes
guest ok = yes
create mask = 0777
directory mask = 0777
force user = plutus
Design Rationale
- Single root share simplifies access for all services
- force user = plutus ensures consistent file ownership
- 0777 masks + ACLs allow Sonarr, Radarr, qBittorrent, NZBGet, and Prowlarr to interoperate without permission conflicts
- Extended ACLs (
+on directories) allow fine‑grained control when needed - Trusted VLAN ensures this openness is safe and intentional
Directory Structure
Code
/media/plutus
dist/ → static website served by NGINX
downloads/ → staging area for qBittorrent/NZBGet
Media/ → final media library (Movies, Shows, Music, Pics, Roms)
nginx.conf → gateway configuration
Integration with the arr Stack
- qBittorrent and NZBGet write to
/media/plutus/downloads - Sonarr and Radarr import from downloads into
/media/plutus/Media - Prowlarr manages indexers for both pipelines
- All services share the
mediagroup and rely on ACLs for write access
This configuration provides a stable, predictable, and conflict‑free media pipeline.