• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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