Fix for libADM6avcodec.so.56: cannot open shared object file: Permission denied

Started by mrj, December 28, 2015, 09:04:09 AM

Previous topic - Next topic

mrj

On Fedora 23, avidemux.x86_64 version 2.6.10-3.fc23 doesn't run for users in the root group, giving the error

avidemux3_qt4: error while loading shared libraries: libADM6avcodec.so.56: cannot open shared object file: Permission denied

The problem was missing group read permissions, fixed with

sudo chmod g+r /lib64/libADM6*

Jan Gruuthuse

I believe you're not supposed to run user programs as root user(s) / super user?

mrj

Not the root user, but a normal user in the group "root", listed by

grep ^root /etc/group | cut -c10-

mean

If you installed using yum, it might be better to report that to the packager


hobbes1069

I can confirm his findings, looking at a recent build:

$ ll libADM6*
-rwx--xr-x. 1 build build 6051232 Jan 27 10:19 libADM6avcodec.so.56
-rwx--xr-x. 1 build build  407408 Jan 27 10:19 libADM6avformat.so.56
-rwx--xr-x. 1 build build  340504 Jan 27 10:19 libADM6avutil.so.54
-rwx--xr-x. 1 build build  114152 Jan 27 10:19 libADM6postproc.so.53
-rwx--xr-x. 1 build build  463728 Jan 27 10:19 libADM6swscale.so.3

While I'm not sure about the use case, shouldn't these be installed 755 anyway? The rest of the libraries are.

Thanks,
Richard

Jan Gruuthuse

ubuntu 14.04.3 from my builds:
/usr/lib$ ll libADM6*
-rwx---r-x 1 root root 6815306 jan 25 08:21 libADM6avcodec.so.56*
-rwx---r-x 1 root root  448194 jan 25 08:21 libADM6avformat.so.56*
-rwx---r-x 1 root root  377564 jan 25 08:21 libADM6avutil.so.54*
-rwx---r-x 1 root root  138704 jan 25 08:21 libADM6postproc.so.53*
-rwx---r-x 1 root root  513899 jan 25 08:22 libADM6swscale.so.3*