Software center creates private-ppa files under /etc/apt/sources.list.d/ with wrong permissions

Bug #923390 reported by pablomme
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

On up-to-date Precise, using the "Reinstall previous purchases..." option in Software Centre causes files with wrong permissions to be added to /etc/apt/sources.list.d:

$ ls -l /etc/apt/sources.list.d
-rw-r--r-- 1 root root 142 Jan 29 15:04 /etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_beep_ubuntu.list
-rw-r--r-- 1 root root 148 Jan 29 15:04 /etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_brukkon_ubuntu.list
-rw-r----- 1 root root 150 Jan 29 15:04 /etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_memory-owl_ubuntu.list

where I've fixed the permissions for the first two entries, and the last one is Software Centre's own.

This causes crashes in aptdaemon, in apt-get, in command-not-found, and possibly others. Running 'chmod o+r' on the relevant files fixes these problems.

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hi pablomme, and thank you for your report. Could you please provide more detail about the issues that you are seeing with aptdaemon, apt-get, etc.? I am not seeing such problems on my system.

Many thanks for your help!

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
pablomme (pablomme) wrote :

This was a teething problem in the Precise alphas, not applicable any more. Sorry for not closing the bug earlier!

Changed in software-center (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hello again pablomme, and thank you for reporting back and for closing it! No reason to apologize, it's hard to remember when you've filed a bug, etc. That's what we are here for, to help find these things so you don't have to.

Thank you again!
Gary

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.