[desktop-effects-kde4] permissions issue

Bug #201879 reported by Daedalus
18
Affects Status Importance Assigned to Milestone
desktop-effects-kde (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: desktop-effects-kde

If you have installed Compiz and you try to set a profile (standard effects, extra effects, custom effects), it simply won't work.
If you run desktop-effects-kde4 from shell, the error message is this:
-------------------------
apply clicked
error
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/DesktopEffects/DesktopEffectsKDE4.py", line 103, in apply
    DesktopEffectsCommon.apply(self)
  File "/usr/lib/python2.5/site-packages/DesktopEffects/DesktopEffectsCommon.py", line 118, in apply
    self.enableStandardEffects()
  File "/usr/lib/python2.5/site-packages/DesktopEffects/DesktopEffectsCommon.py", line 184, in enableStandardEffects
    dest = open(os.path.expanduser("~/.config/compiz/compizconfig/Default.ini"),"w")
IOError: [Errno 13] Permesso negato: '/home/deda/.config/compiz/compizconfig/Default.ini'
------------------------

in Italian, "permesso negato" means "permission denied".

Of course, if you run "sudo desktop-effects-kde4", everything goes ok.

So, there are 2 solutions:
- configuration files could be modified by user
- desktop-effects-kde4 should run with root privileges (IMHO better).

Revision history for this message
nosrednaekim (nosrednaekim) wrote :

The first solution is the way it should work,

did you ever run desktop-effects-kde4(or another compiz configuration) program as root? If so, that is probably why you cannot write to that file as your normal user (since it now had root privileges)

you can fix this by running "sudo rm /home/deda/.config/compiz/compizconfig/Default.ini" and rerunning desktop-effects-kde4. Do not run any compiz configurator as root (since most also write to this same file,and there is no need to)

Changed in desktop-effects-kde:
status: New → Invalid
Revision history for this message
Daedalus (osd-daedalus) wrote :

Yes, I used CCSM before (as root). Very well then, if it is not a generalized problem, I'll follow your instructions. Thanks!!

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.