Symptoms
- Opening Domains > example.com > File Manager fails with a warning:
Symlinks out of webspace are prohibited /: Access to realpath denied: /var/www/vhosts/example.com/ to /var/www/vhosts/example.com.
- Opening only a certain directory in the File Manager of a Plesk domain fails with a warning:
Symlinks out of webspace are prohibited /: Access to realpath denied: /root/web/ to /var/www/vhosts/example.com.
- The directory that you are attempting to reach via the File Manager is symlinked to a directory that lies outside of the Plesk file structure (
/root/web
or a directory in an entirely different disk for example) - The Plesk domain's home directory is moved to another drive and its location is replaced with a symlink.
Cause
Symbolic links that lead to directories that lie outside of the Plesk file structure or outside of the Subscription that is used at the time are not opened in the Plesk File Manager. Such actions are forbidden intentionally in order to keep the Subscription isolation that is a core part of the way in which Plesk functions in tact.
Resolution
As a workaround, you should mount the other disk directory directly within the path /var/www/vhosts/example.com/
and make sure that it has sufficient permissions and is owned by the Plesk Subscription system user and the psacln group .
Note: This is an administrative task and should be performed by the system administrator or server owner.