• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved EFS / Permission denied: AH00035

Erwan

Regular Pleskian
Server operating system version
AlmaLinux 9.3
Plesk version and microupdate number
18.0.59
Hi all,

We set up shared storage (Enterprise File storage) on two servers with Plesk.
Environments/users/paths are identical.

Server 1
> configuration "domain.com" with Plesk. IP A with user "ftpusermydomain".
Web path : /var/www/vhosts/mydomain.com/prod.mydomain.com
drwxr-x--- 2 ftpusermydomain psaserv 4096 Mar 18 18:25 prod.mydomain.com

Server 2
> configuration "domain.com" with Plesk. IP B with user "ftpusermydomain".
Web path : /var/www/vhosts/mydomain.com/prod.mydomain.com
drwxr-x---. 2 ftpusermydomain psaserv 4096 Mar 18 2024 prod.mydomain.com

I have created a php file "index.php" with only echo "hello" inside the path "prod.mydomain.com".

EFS storage is mount on "prod.mydomain.com".

If I test the domain of server 1, it works fine.
For the second, i have a page : 403 forbidden / You don't have permission to access this resource.
Plesk logs:
(13)Permission denied: AH00035: access to /index.php denied (filesystem path '/var/www/vhosts/mydomain.com/prod.mydomain.com/index.php') because search permissions are missing on a component of the path

Why? All rights are the same on the two servers.
 
Arf...
I see there is a dot next to permissions.
After research, this means that SELinux is activated in enforcing mode.

The problem came from that.
 
Back
Top