Xapian related Permission Error when Synaptic is run without root

Bug #338462 reported by Siegfried Gevatter
2
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: synaptic

If I run Synaptic (0.62.5ubuntu1 on Jaunty) without root privilegies, just after starting it I get the following error in the terminal (without crash, though, the interface remains usable):

-------------------------------------------------------------------

Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 518, in <module>
    lockfd = os.open(XAPIANDBLOCK, os.O_RDWR | os.O_CREAT)
OSError: [Errno 13] Permission denied: '/var/lib/apt-xapian-index/update-lock'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 85, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
OSError: [Errno 17] File exists: '/var/crash/_usr_sbin_update-apt-xapian-index.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 518, in <module>
    lockfd = os.open(XAPIANDBLOCK, os.O_RDWR | os.O_CREAT)
OSError: [Errno 13] Permission denied: '/var/lib/apt-xapian-index/update-lock'

-------------------------------------------------------------------

If you can't reproduce this on an up to date Jaunty installation, feel free to close the bug. My system is a bit messed up (upgrade from Intrepid didn't realy work good and I've already had other weird stuff happen), so this may only be affecting me.

Revision history for this message
Siegfried Gevatter (rainct) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

I can't reproduce it on Karmic or higher. Feel free to reopen if it's still an issue. Thanks.

Changed in synaptic (Ubuntu):
status: New → 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.