Comment 0 for bug 852003

Matthew Paul Thomas (mpt) wrote :

Ubuntu Software Center, Ubuntu 11.10 beta 1

1. Create an admin user account, and a non-admin user account, in addition to the account you're using now.
2. Subscribe to a private PPA. (For example, purchase some software.)
3. Switch to the admin user account, and launch Ubuntu Software Center.
4. Switch to the non-admin user account, and launch Ubuntu Software Center.

What happens:
3. USC launches.
4. USC fails to launch, with this traceback:
Traceback (most recent call last):
  File "/usr/bin/software-center", line 151, in <module>
    app = SoftwareCenterAppGtk3(datadir, xapian_base_path, options, args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/", line 206, in __init__
  File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/", line 209, in open
    self._cache = apt.Cache(GtkMainIterationProgress())
  File "/usr/lib/python2.7/dist-packages/apt/", line 93, in __init__
  File "/usr/lib/python2.7/dist-packages/apt/", line 140, in open
SystemError: E:Opening /etc/apt/sources.list.d/private-ppa.launchpad.net_whatever_ubuntu.list - ifstream::ifstream (13: Permission denied)

What should happen:
4. USC should launch, just not showing the contents of the private PPA.

Bug 746625 (currently marked Invalid) is the equivalent bug in apt.