1

Topic: Roundcube Permissions

Made a mistake while upgrading Roundcube and had to reinstall Roundcube and set folder permissions. Within the Roundcube directory set the following to be owned by www-data:www-data

/logs/*
/temp/*
/config/config.inc.php
/config/mimetypes.php

1) Does mimetypes.php need to be owed by www-data?

2) Do any other permissions need to be set?



==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.2
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version: Debain 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Roundcube Permissions

Only  /logs and /temp should be writeable by web server (www-data:www-data), others are just read-only.

FYI https://github.com/iredmail/iRedMail/bl … sh#L22-L31

Although iRedMail is open source, but seems no one uses the source code for reference. sad

3

Re: Roundcube Permissions

Great point about failure to reference the code. Thanks.