I'm getting Permission denied error when trying to run a binary executable, and I can't figure out why.
[me@me bin]$ ./alpha
-bash: ./alpha: Permission denied
(root is able to run)
mod is 777
. I suspected selinux, but setenforce 0
doesn't help. File context is system_u:object_r:default_t:s0
.
The file was first installed on NFS, shared with another server, then moved to local storage. After this, I started to get the error. On the other server, where the file is still on NFS, it runs without any problem.
This is getfacl result, so I believe this is not ACL problem:
# file: alpha
# owner: ****
# group: ****
user::rwx
group::rwx
other::rwx
What can cause the Permission denied? Where can I look for logs?