diff --git a/doc/configuration.md b/doc/configuration.md index ae2037d6..0454fb53 100644 --- a/doc/configuration.md +++ b/doc/configuration.md @@ -51,6 +51,10 @@ pipe:///?name=[&mode=create][&dryout_ms=2000] `mode` can be `create` or `read`. Sometimes your audio source might insist in creating the pipe itself. So the pipe creation mode can by changed to "not create, but only read mode", using the `mode` option set to `read` +**NOTE** With newer kernels using FIFO pipes in a world writeable sticky dir (e.g. `/tmp`) one might also have to turn off `fs.protected_fifos`, as default settings have changed recently: `sudo sysctl fs.protected_fifos=0`. + +See [stackexchange](https://unix.stackexchange.com/questions/503111/group-permissions-for-root-not-working-in-tmp) for more details. You need to run this after each reboot or add it to /etc/sysctl.conf or /etc/sysctl.d/50-default.conf depending on distribution. + ### librespot Launches librespot and reads audio from stdout diff --git a/doc/player_setup.md b/doc/player_setup.md index 7e5925d9..0143fad8 100644 --- a/doc/player_setup.md +++ b/doc/player_setup.md @@ -9,6 +9,10 @@ The goal is to build the following chain: audio player software -> snapfifo -> snapserver -> network -> snapclient -> alsa ``` +**NOTE** With newer kernels using FIFO pipes in a world writeable sticky dir (e.g. `/tmp`) one might also have to turn off `fs.protected_fifos`, as default settings have changed recently: `sudo sysctl fs.protected_fifos=0`. + +See [stackexchange](https://unix.stackexchange.com/questions/503111/group-permissions-for-root-not-working-in-tmp) for more details. You need to run this after each reboot or add it to /etc/sysctl.conf or /etc/sysctl.d/50-default.conf depending on distribution. + ## Streams Snapserver can read audio from several sources, which are configured in the `snapserver.conf` file (default location is `/etc/snapserver.conf`); the config file can be changed with the `-c` parameter.