The problem here is that the saving and restoring of the audio settings in jobs/audio.txt use $CHECKBOX_SHARE, which is usually /usr/share/checkbox/, and thus is non-writable by users. Instead, they should use $CHECKBOX_DATA.
Steps to reproduce:
- As a normal user, run:
audio_settings store --file=/usr/share/checkbox/pulseaudio_settings
- Nothing on the first command
- Harmless output on the second command:
1
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> no
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> 6553
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> 0
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> no
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> 65537
Welcome to PulseAudio! Use "help" for usage information.
The problem here is that the saving and restoring of the audio settings in jobs/audio.txt use $CHECKBOX_SHARE, which is usually /usr/share/ checkbox/ , and thus is non-writable by users. Instead, they should use $CHECKBOX_DATA.
Steps to reproduce:
- As a normal user, run: /usr/share/ checkbox/ pulseaudio_ settings
audio_settings store --file=
audio_settings restore --file= /usr/share/ checkbox/ pulseaudio_ settings
Expected result:
- Nothing on the first command
- Harmless output on the second command:
1
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> no
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> 6553
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> 0
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> no
Welcome to PulseAudio! Use "help" for usage information.
>>> >>> 65537
Welcome to PulseAudio! Use "help" for usage information.
Actual result:
Trace as shown on the original report.