Plesk

A Plesk backup task completes with the warning: This system user has no read access to

Symptoms

Cause

The files mentioned in the warning have incorrect permissions.

Resolution

Use one of the following solutions

 

Solution I: Fix permissions

 

Grant read access to the files/directories for the system user mentioned in the warning message:

 

  • If files/directories inside subscription directory are affected

    1. Connect to the Plesk server over SSH.

    2. Find system user of the domain in question:

      # plesk bin subscription -i example.com | grep "FTP Login"
      john_doe

    3. Modify ownership:

      # chown -R john_doe:psacln /var/www/vhosts/example.com/<path_to_the_file_from_error>

    4. Set permissions:

      # find /var/www/vhosts/example.com/<path_to_dir_from_error> -type f -exec chmod 0644 {} ;
      # find /var/www/vhosts/example.com/<path_to_dir_from_error> -type d -exec chmod 0755 {} ;

       

  • If mail is affected

    1. Connect to the Plesk server over SSH.

    2. Set the permissions of the affected directory to the correct one (see the error message - here the required user and group is popuser):

      # chown popuser:popuser /var/qmail/mailnames/example.com/mailbox/Maildir/subscriptions

 

Solution II: exclude subscription files from Plesk backups

 

If the subscription files are not needed in the backup, ignore the warning or configure Backup Manager to exclude the files from backup.

  1. In Plesk, go to Domains > example.com > Backup Manager and enable the option Exclude specific files from the backup.

    Note: Excluding directory from server-wide backup at Tools & Settings > Backup manager, will exclude it from all domains on a server. We recommend to exclude directories for each domain separately.

  2. Specify the path or paths relative to the web space root, separating individual files with commas. Using the mask symbol is allowed.