pkgstripfiles doesn't preserve permissions of png files
Bug #817792 reported by
Felix Geyer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkgbinarymangler (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
pkgstripfiles runs advpng which doesn't preserve file permissions.
For example in https:/
-rw-r--r-- root/root 91025 2011-05-20 20:36 ./usr/share/
-rw-rw-r-- root/root 34949 2011-07-28 14:34 ./usr/share/
send-to-menu.png has wrong permissions because advpng was able to optimize it.
Changed in pkgbinarymangler (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Undecided → High |
assignee: | nobody → Martin Pitt (pitti) |
To post a comment you must log in.
I can confirm that, it's 100% reproducible on my oneiric chroots here.
It's not a problem when umask is 022, but with the new default umask (002), the permissions are messed up (664 instead of 644). And since this optimization takes place "inside" dpkg-deb, dh_fixperms has already run...