Plesk

Cannot access Mailman in Plesk: Bug in Mailman version 2.1.15. OSError: [Errno 13] Permission denied

Symptoms

Cause

Link traversal protection is enabled:

# sysctl fs.protected_symlinks_create
fs.protected_symlinks_create = 1


# sysctl fs.protected_hardlinks_create
fs.protected_hardlinks_create = 1

Note: According to the Plesk Obsidian Installation requirements such an option should be disabled to avoid potential issues.

Resolution

  1. Connect to the server via SSH.

  2. Open the file /etc/sysctl.conf in any text editor, for example, in the vi text editor:

    # vi /etc/sysctl.conf

  3. Edit the file and change the lines below:
    Before:

    fs.protected_symlinks_create = 1
    fs.protected_hardlinks_create = 1

    After:

    fs.protected_symlinks_create = 0
    fs.protected_hardlinks_create = 0

  4. Save changes and close the file.

  5. Apply changes by executing the command below:

    # sysctl -p

Exit mobile version