ubuntu tweak won't disable fix root appearance

Bug #614832 reported by Ryan Kitty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Fix Released
Low
Ding Zhou

Bug Description

When i try to disable the fix appearance of programs granted administrative privileges thing, the check box clears, but when I open Tweak again, it's back to checked. I know that something is wrong, because the terminal spits this out

ryan@ryan-laptop:~$ ubuntu-tweak
/home/ryan/.gtkrc-2.0:8: Unable to find include file: ".themes/nautilus/nautilus.rc"
ERROR:dbus.proxies:Introspect error on :1.63:/com/ubuntu_tweak/daemon: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.62" (uid=1000 pid=3833 comm="/usr/bin/python) interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.63" (uid=0 pid=3835 comm="/usr/bin/python))
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/lockdown.py", line 88, in on_fix_theme_btn_taggled
    proxy.unlink_file(ROOT_THEMES)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.OSError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/backends/daemon.py", line 314, in unlink_file
    os.unlink(path)
OSError: [Errno 21] Is a directory: '/root/.themes'

Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → TualatriX (tualatrix)
milestone: none → 0.5.6
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Confirmed → Fix Committed
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.