Need help?

Our experts have had an average response time of 11.7 minutes in August 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Plesk “system error 13 : permission denied” – How we fix it

by | May 6, 2021

Incorrect file permission often causes the “system error 13: permission denied” while performing operations in Plesk.

At Bobcares, our Support Engineers often get the request to solve Plesk panel related as a part of our Server Management Services.

Today, let’s analyze the cause and see how our Support Team fix the Permission denied error for our Plesk customers.

What causes Plesk “system error 13: permission denied”?

Recently, we faced the Plesk error “System error 13: Permission denied” message while accessing File Manager from Plesk.  The exact error message was:

plesk system error 13 permission denied

Our Support Engineers used the repair option in the Plesk GUI available from Tools & Settings > Diagnose & Repair > File System > Repair.

We could also perform this command line with the command below:

#plesk repair fs -y example.com

The “System error 13” message often triggers while performing operations from the Plesk interface. This generally happens when the Plesk service cannot execute a backend utility or the utility is unable to change some files. The prime reason for the error could be incorrect permissions.

 

How to fix “system error 13: permission denied”?

To fix this error, our Support Engineers ensure that the permission of the files and folders are intact. Once we log in to the server over SSH, we ensure that the following files have proper ownership and permission.

ls -al /usr/local/psa/admin/sbin/*wrapper
-r-s--x--- 1 root psaadm 13120 Jun 13 21:51 ./admin/sbin/mod_wrapper
-r-s--x--- 1 root psaadm 13632 Jun 13 21:51 ./admin/sbin/wrapper

Here we noticed that there were differences in the permission. Thus, we corrected it with the commands below:

cd /usr/local/psa/
# chown root:psaadm ./admin/sbin/*wrapper
# chmod 4510 ./admin/sbin/*wrapper

Apart from the files above, we also ensure correct permissions for the folders below:

#ls -ld /usr/local/psa/admin/sbin/
drwxr-xr-x 3 root root 4096 Sep 22 03:28 /usr/local/psa/admin/sbin/

# ls -ld /usr/local/psa/admin/
drwxr-xr-x 18 root root 4096 Aug 11 2014 /usr/local/psa/admin/

# ls -ld /usr/local/psa/
drwxr-xr-x 15 root root 4096 Sep 14 05:27 /usr/local/psa/

# ls -ld /usr/local/
drwxr-xr-x 14 root root 4096 Aug 19 11:35 /usr/local/

# ls -ld /usr/
drwxr-xr-x 13 root root 4096 Jul 6 16:48 /usr/

# ls -ld /
dr-xr-xr-x 20 root root 4096 Oct 28 12:40 /

Lastly, it is also important to ensure that the following folders also contain correct permission.

  • For Centos 7:
    #ls -ld /bin
    lrwxrwxrwx 1 root root 7 Mar 8 2017 /bin -> usr/bin
    # ls -ld /usr/bin/ dr-xr-xr-x. 2 root root 28672 Apr 18 20:29 /usr/bin/
    
  • For other OSes:
    #ls -ld /bin
    dr-xr-xr-x 2 root root 4096 Mar 16 03:20 /bin

[Need any further assistance to fix Plesk server errors? – We’re available 24*7 ]

Conclusion

In short, the “System error 13: Permission denied” appears due to incorrect file/folder permissions. It often causes issues while performing operations from the Plesk panel. Today, we saw how our Support Engineers fix this error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

SEE SERVER ADMIN PLANS

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF