Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36162

Problem reading .so file!

$
0
0
I am using Fedora 18 (with the latest packages as fetched by "yum update") with a a standard "desktop" graphical install.
I am trying to load a user defined function I have made (in the form of a dynamically linked .so file) into mysql but it fails with an error code and message indicating that mysql is not allowed to open the file. I have verified that both the file and its directory allow any user "r-x" access. I have also traced the file accesses of the mysql server process and can see that Linux really return the error code indicating that access is forbidden.
If I remove the ".so" file from the plugin directory where mysql is looking for it I receive a different error message so I know also in this way that mysql has found the file and is trying to read it...

I have even tried to assign ownership (and group) of the file to mysql but this sadly give the same result...

Is there some security feature (similar to apparmour?) that is enabled by default that would block reading ".so" files by arbitrary users or what else could be wrong?

Viewing all articles
Browse latest Browse all 36162

Trending Articles