Shared library permissions in Debian-land and Red Hat-land

Adam Williamson awilliam at redhat.com
Thu Mar 24 16:50:34 UTC 2011


On Thu, 2011-03-24 at 11:59 -0400, Przemek Klosowski wrote:
> On 03/24/2011 03:28 AM, Ville Skyttä wrote:
> > On 03/24/2011 06:52 AM, John Reiser wrote:
> >>>   they say on Debian and Ubuntu,
> >>> all shared libs have 0644 permissions.
> >>
> >> What they say is incorrect.
> >>
> >> I have Ubuntu 10.10 i686:
> >> -rwxr-xr-x 1 root root 1421892 2011-01-21 15:08 /lib/libc-2.12.1.so
> > [...snip more libc examples...]
> >
> > libc is probably a special case because it actually does useful things
> > when executed.  The vast majority of shared libs are not executable on a
> > Debian 6.0 box I just had a look at.
> 
> FWIW, on my F14 all the .so libs in /lib are executable, and all but 
> three segfault (and trigger abrt) when executed. Besides the already 
> mentioned libc-2.13.so and ld-2.13.so, only libpthread-2.13.so
> runs successfully to print a legal notice followed by 'Forced unwind 
> support included."

Well, yes - that's the whole point of this thread: they're executable on
Fedora systems, not on Debian systems.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net



More information about the devel mailing list