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

John Reiser jreiser at bitwagon.com
Thu Mar 24 04:52:24 UTC 2011


>  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

I have Ubuntu 10.4 x86_64:
-rwxr-xr-x 1 root root 1405508 2011-01-21 14:25 /lib32/libc-2.11.1.so
-rwxr-xr-x 1 root root 1577632 2011-01-21 14:23 /lib64/libc-2.11.1.so
-rwxr-xr-x 1 root root 1577632 2011-01-21 14:23 /lib/libc-2.11.1.so

I have Ubuntu 9.10 i686:
-rwxr-xr-x 1 root root 1335560 2010-05-21 01:17 /lib/libc-2.10.1.so

I have Ubuntu 8.04 i686:
-rwxr-xr-x 1 root root 1274092 2010-10-21 20:33 /lib/libc-2.7.so

I have Ubuntu 7.10 i686:
-rwxr-xr-x 1 root root 1249520 2007-10-24 18:03 /lib/libc-2.6.1.so

I have Ubuntu 7.04 i686:
-rwxr-xr-x 1 root root 1249520 2007-10-24 18:03 /lib/libc-2.6.1.so

I have Debian [kernel 2.6.18-6] x86_64:
-rwxr-xr-x 1 root root 1212720 2010-01-17 04:36 /lib32/libc-2.3.6.so
-rwxr-xr-x 1 root root 1286104 2010-01-17 04:36 /lib64/libc-2.3.6.so
-rwxr-xr-x 1 root root 1286104 2010-01-17 04:36 /lib/libc-2.3.6.so

-- 


More information about the devel mailing list