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

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.


** Changed in: checkbox (Ubuntu)
       Status: New => Triaged

** Changed in: checkbox (Ubuntu)
   Importance: Medium => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1041340

Title:
  audio_settings crashed with IOError in store_audio_settings(): [Errno
  13] Permission denied: '/usr/share/checkbox/pulseaudio_settings'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/checkbox/+bug/1041340/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to