Update manager crashes if ~/.update-manager/* isn't owned by the user.

Bug #91183 reported by Andrew Melo
44
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Binary package hint: update-manager

chown ~/.update-manager to root, and it crashes.

ProblemType: Crash
Architecture: i386
Date: Sat Mar 10 10:58:50 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/update-manager
InterpreterPath: /usr/bin/python2.5
Package: update-manager 1:0.57.8
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/update-manager
ProcCwd: /home/amelo
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/update-manager']
SourcePackage: update-manager
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/UpdateManager/Core/MetaRelease.py", line 171, in download
     f=open(self.METARELEASE_FILE,"w+")
 IOError: [Errno 13] Permission denied: '/home/amelo/.update-manager/meta-release'
Uname: Linux amelo-desktop 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux

Revision history for this message
Andrew Melo (andrew-melo) wrote :
Revision history for this message
Christof Krüger (christofkr) wrote :

Chowning to root was not enough but just making ~/update-manager/meta-release not readable by the current user was, so you could just chmod it to 0000 or something alike.

However, update-manager seemed to work even after the crash (apport spawned). Thus, I don't think it's critical, but update-manager should handle it more gracefully anyway.

Changed in update-manager:
status: Unconfirmed → Confirmed
Michael Vogt (mvo)
Changed in update-manager:
importance: Undecided → Medium
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This problem is fixed in my local tree and the fix will be part of the next upload.

Cheers,
 Michael

Changed in update-manager:
assignee: nobody → mvo
status: Confirmed → Fix Committed
Michael Vogt (mvo)
Changed in update-manager:
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.