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

drago01 drago01 at gmail.com
Tue Mar 29 09:46:15 UTC 2011


On Thu, Mar 24, 2011 at 7:08 PM, Kevin Kofler <kevin.kofler at chello.at> wrote:
> Adam Williamson wrote:
>> So, I just ran into an interesting issue talking over Fedora patches
>> with the upstream glew maintainer. glew installs its shared libraries
>> 'manually', not using autotools / libtools; upstream installs them with
>> permissions of 0644, and we patch this to 0755. After talking to
>> upstream, they say they're following Debian conventions here; I don't
>> have a Debian-land system to confirm, but they say on Debian and Ubuntu,
>> all shared libs have 0644 permissions.
>
> This is true. AFAIK, the Debian policy is because those shared libraries
> crash when some idiot tries to run them as programs.

Why does that matter?
They run them notice the crash and learn from it. It is not like
running shared libraries as programs is an every day task.
This is really a fringe corner case and should simply be ignored it is
not worth basing distribution policy around that.


More information about the devel mailing list