stefanpejcic / OpenPanel

A highly customizable web hosting control panel built with Docker 🐳
https://openpanel.com
216 stars 33 forks source link

files-fix_permissions should set 5000:5000 for /home/USERNAME/mail/* #187

Closed stefanpejcic closed 5 days ago

stefanpejcic commented 2 months ago

OpenPanel version(s) affected

0.2.9

Description

files-fix_permissions should set 5000:5000 for /home/USERNAME/mail/*

How to reproduce

files-fix_permissions should set 5000:5000 for /home/USERNAME/mail/*

Possible Solution

No response

Additional Context

No response

stefanpejcic commented 5 days ago

starting v0.3.6 1000:1000 is now used for emails https://github.com/stefanpejcic/OpenMail/blob/364885edcf062b2fc9b54b851f0adfc7de841970/mailserver.env#L35

so emails can also be edited by ftp accounts.


when directory is set to /home/$USERNAME/ then opencli files-fix_permissions will now set 1000:1000 -R/home/$USERNAME/mail/`