Bug 215916 - odd library permissions, library not stripped
Summary: odd library permissions, library not stripped
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pwlib
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-16 10:59 UTC by Joe Orton
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-17 16:12:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to fix library permissions in generated makefile (1.58 KB, patch)
2006-11-17 15:39 UTC, Daniel Veillard
no flags Details | Diff

Description Joe Orton 2006-11-16 10:59:37 UTC
pwlib-1.10.1-6.fc6.i386

-r--r--r-- 1 root root 7546144 Aug 14 19:40 /usr/lib/libpt_linux_x86_r.so.1.10.1

shared library permissions should be 0755, this is 0644.

installing it without +w prevents the library being automatically stripped of
debugging symbols which means ~5Mb of unnecessary stuff is being packaged; this
is really bad.

Comment 1 Daniel Veillard 2006-11-17 15:38:07 UTC
Okidoc I have a patch available, seems to fix it:

before:

paphio:~/pkgs/pwlib/RHEL-5 -> ls -l
/u/veillard/rpms/RPMS/i386/pwlib-1.10.1-6.i386.rpm
/u/veillard/rpms/RPMS/i386/pwlib-devel-1.10.1-6.i386.rpm
/u/veillard/rpms/RPMS/i386/pwlib-debuginfo-1.10.1-6.i386.rpm
-rw-rw-r-- 1 veillard vcsa 2612709 Nov 17 16:31
/u/veillard/rpms/RPMS/i386/pwlib-1.10.1-6.i386.rpm
-rw-rw-r-- 1 veillard vcsa  506932 Nov 17 16:31
/u/veillard/rpms/RPMS/i386/pwlib-debuginfo-1.10.1-6.i386.rpm
-rw-rw-r-- 1 veillard vcsa  435169 Nov 17 16:31
/u/veillard/rpms/RPMS/i386/pwlib-devel-1.10.1-6.i386.rpm
paphio:~/pkgs/pwlib/RHEL-5 -> 

after:

paphio:~/pkgs/pwlib/RHEL-5 -> ls -l 
/u/veillard/rpms/RPMS/i386/pwlib-1.10.1-7.i386.rpm
/u/veillard/rpms/RPMS/i386/pwlib-devel-1.10.1-7.i386.rpm
/u/veillard/rpms/RPMS/i386/pwlib-debuginfo-1.10.1-7.i386.rpm
-rw-rw-r-- 1 veillard vcsa  840795 Nov 17 16:34
/u/veillard/rpms/RPMS/i386/pwlib-1.10.1-7.i386.rpm
-rw-rw-r-- 1 veillard vcsa 2815859 Nov 17 16:34
/u/veillard/rpms/RPMS/i386/pwlib-debuginfo-1.10.1-7.i386.rpm
-rw-rw-r-- 1 veillard vcsa  435047 Nov 17 16:34
/u/veillard/rpms/RPMS/i386/pwlib-devel-1.10.1-7.i386.rpm
paphio:~/pkgs/pwlib/RHEL-5 -> 

  so the debug information data moved to the -debuginfo, as expected.

Daniel

Comment 2 Daniel Veillard 2006-11-17 15:39:24 UTC
Created attachment 141484 [details]
patch to fix library permissions in generated makefile

Comment 3 Daniel Veillard 2006-11-17 16:12:01 UTC
Should be fixed in pwlib-1_10_2-3_fc7,

  thanks,

Daniel


Note You need to log in before you can comment on or make changes to this bug.