← Back to team overview

touch-packages team mailing list archive

[Bug 1349813] Re: [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized] While trying to change a ringtone

 

This bug was fixed in the package accountsservice - 0.6.37-1ubuntu7

---------------
accountsservice (0.6.37-1ubuntu7) utopic; urgency=medium

  * debian/patches/0022-fix-desktop-centric-polkit-policy.patch:
    - Change the polkit policy so accountsservice allows use of the
      DBus API by admin users that are not logged in via a monitor+keyboard.
      This includes users logged in via ssh. (LP: #1349813)
 -- Omer Akram <om26er@xxxxxxxxxx>   Wed, 30 Jul 2014 10:24:09 -0500

** Changed in: accountsservice (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/1349813

Title:
  [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized]
  While trying to change a ringtone

Status in “accountsservice” package in Ubuntu:
  Fix Released
Status in “ubuntu-system-settings” package in Ubuntu:
  Won't Fix

Bug description:
  On my Ubuntu phone, I am trying to write an integration test which
  involves backing up the old ringtone value and then restoring it. The
  backup works fine but when I try to write the value it gives:

  phablet@ubuntu-phablet:~$ ./accounts_service_issue.py 
  Current ringtone: Ubuntu.ogg 
  Trying to set to: Supreme.ogg
  Traceback (most recent call last):
    File "./accounts_service_issue.py", line 47, in <module>
      set_ringtone()
    File "./accounts_service_issue.py", line 23, in set_ringtone
      new_ringtone)
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
      return self._proxy_method(*args, **keywords)
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
      **keywords)
    File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
      message, timeout)
  dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.PermissionDenied: Not authorized

  Not really sure whats happening there, any help is appreciated.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: ubuntu-system-settings 0.3+14.10.20140714-0ubuntu2
  ProcVersionSignature: Ubuntu 3.15.0-6.11-generic 3.15.0
  Uname: Linux 3.15.0-6-generic x86_64
  ApportVersion: 2.14.4-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jul 29 17:19:22 2014
  InstallationDate: Installed on 2014-06-14 (44 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140610.1)
  SourcePackage: ubuntu-system-settings
  UpgradeStatus: No upgrade log present (probably fresh install)

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