"file" command shows no read permissions

Latest response

Hey all,

I have spent 48 hours now trying to resolve an issue. I have an httpd process hosting my /data directory on a RHEL8 server. In this directory, I have a test.txt file and an .iso file. I want to be able to go to my webserver and download the files. The .txt file works fine but the .iso file is giving me permission denied, AH00132 errors.

I turned off SELinux, I turned off fapolicyd, I turned off Trellix agent, I set SELinux labels anyway, I set 755 on the ISO, I set it on the directory, I made "apache:" own the file. Nothing I do works. It oddly seems to work for 30 seconds after the server reboots, and then something is kicking in and stopping it.

when I run "file myiso.iso", it shows writeable, executable, no read permissions. I am stumped because its 755, in a 755 directory, and I ever used "setfacl" to give apache rwx.

Anyone have any idea what process might be kicking in after 30 seconds? Has anyone ran into an issue where you saw "no read permissions" when its obviously set to have them?

Responses