prevu-update sets incorrect ownership on newly created Packages files

Bug #73817 reported by John Dong
2
Affects Status Importance Assigned to Milestone
Prevu
Fix Committed
Undecided
Unassigned

Bug Description

If you remove /var/cache/prevu/$distro-debs/Packages and then run prevu-update, a Packages index like this is created:
-rw-r--r-- 1 root root 3298 2006-11-29 15:55 /var/cache/prevu/dapper-debs/Packages

This is incorrect. A subsequent run of prevu-update fixes this:
-rw-rw-r-- 1 root admin 3298 2006-11-29 15:57 /var/cache/prevu/dapper-debs/Packages

Somehow if prevu-update has to create its own Packages index, it doesn't chown/chmod it correctly.

Revision history for this message
John Dong (jdong) wrote :

Fix committed in bzr:

------------------------------------------------------------
revno: 50
revision-id: <email address hidden>
parent: <email address hidden>
committer: John Dong <email address hidden>
branch nick: dev
timestamp: Wed 2006-11-29 16:01:30 -0500
message:
  prevu-update: Generate Packages list first (Closes: #73817)

Changed in prevu:
status: Unconfirmed → Confirmed
status: Confirmed → Fix Committed
Revision history for this message
Someone (s4910321931-deactivatedaccount) wrote :

For me ls -l gives:

-rwxrwxr-x 1 root admin 1126 2007-05-23 19:17 /var/cache/prevu/feisty-debs/Packages

$ dpkg -l prevu
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=========================-=========================-==================================================================
ii prevu 0.4.1bzr46-0ubuntu2 an Automatic backporter script

Revision history for this message
Someone (s4910321931-deactivatedaccount) wrote :

For me ls -l gives:

-rwxrwxr-x 1 root admin 1126 2007-05-23 19:17 /var/cache/prevu/feisty-debs/Packages

$ dpkg -l prevu
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=========================-=========================-==================================================================
ii prevu 0.4.1bzr46-0ubuntu2 an Automatic backporter script

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers