Shared library permissions in Debian-land and Red Hat-land
Jakub Jelinek
jakub at redhat.com
Thu Mar 24 07:17:58 UTC 2011
On Wed, Mar 23, 2011 at 09:52:24PM -0700, John Reiser wrote:
> > they say on Debian and Ubuntu,
> > all shared libs have 0644 permissions.
>
> What they say is incorrect.
Well, given that libc.so and ld.so are shared libraries with
with meaningful e_entry, so you can actually run
/lib/ld-2.*.so or /lib/libc-2.*.so,
those definitely should be 755. The question is about libraries
which just segfault when you try to exec them (most of the shared
libraries).
> I have Ubuntu 10.10 i686:
> -rwxr-xr-x 1 root root 1421892 2011-01-21 15:08 /lib/libc-2.12.1.so
Jakub
More information about the devel
mailing list