- Plesk for Linux
Exporting a database dump from Domains > example.tld > Databases > Export dump fails with the following error:
PLESK_ERROR: stdout: filemng: Cannot open source file 'db-dump MtMhkQ'
/var/log/plesk/panel.logthe following entry is present:
PLESK_ERROR: PHP Warning: mkdir(): Permission denied; File: /opt/psa/admin/plib/Service/Agent/Transport/LocalTransaction.php, Line: 58
Incorrect permissions for the directory
/usr/local/psa/tmp/ on RHEL or
/opt/psa/tmp on Debian and Ubuntu.
Execute the following command:
For RHEL-based operating systems (CentOS, RHEL, CloudLinux):
# chmod 1777 /usr/local/psa/tmp/ && chown root:root /usr/local/psa/tmp/
For Debian and Ubuntu:
# chmod 1777 /opt/psa/tmp/ && chown root:root /opt/psa/tmp/