dpkg-deb --build missing --root-owner option

Bug #1168054 reported by qji
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
dpkg (Debian)
Fix Released
Unknown
dpkg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I pack files with dpkg-deb --build as a normal user. The problem is the files owner in the deb package is my normal user not the root. It would be nice if dpkg-deb --build can change the ownership in the package.
I found discoussion about that, and it seems there is a patch which fix that issue, but I don't see any --root-owner or --owner= option for dpkg-deb.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=291320

Changed in dpkg (Debian):
status: Unknown → New
Revision history for this message
Steven Chen (stevench2000) wrote :

Hi,
I have run into similar problem, and I found this work around helpful for me.

fakeroot dpkg-deb --build ...
This will package the files with ownership set to root/root.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dpkg (Ubuntu):
status: New → Confirmed
Changed in dpkg (Debian):
status: New → Fix Committed
Changed in dpkg (Debian):
status: Fix Committed → Fix Released
Revision history for this message
elswerky (elswerky) wrote :

@Steven Chen (stevench2000)
thanks Steven ,, fakeroot changed it

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.