【问题标题】:Cannot access shared libraries after debian linux headers installation with suid使用 suid 安装 debian linux 头文件后无法访问共享库
【发布时间】:2019-03-07 08:42:40
【问题描述】:

我正在开发一种用于提升共享对象的工具。该工具需要以普通用户身份运行。为此,我已授予该工具的 suid 权限。

在我安装 linux-headers-4.9.0-4-amd64 之前一切正常。安装后,该工具无法使用共享对象。 (这些工具适用于 root 用户或 sudo)

这是错误:error while loading shared libraries: libboost_atomic-mt.so.1.66.0: cannot open shared object file: No such file or directory。有谁有想法吗? (debian 版本:9.3,debian repo 版本:9.8)

Permissions of shared objects:

Permissions of tools:

The error screenshot:

【问题讨论】:

    标签: c++ linux debian shared-libraries


    【解决方案1】:

    我找到了与我的问题相关的错误修复。你可以检查一下你是否有这样的麻烦。

    这里是关于 SUID 的错误:https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884615

    这里是更新日志:https://metadata.ftp-master.debian.org/changelogs//main/g/glibc/glibc_2.24-11+deb9u4_changelog

    Related screenshot

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-08-21
      • 1970-01-01
      • 2021-06-16
      • 2019-02-03
      • 1970-01-01
      • 2015-03-18
      相关资源
      最近更新 更多