I have made a mistake while trying to fix a permission issue and now I cannot get mail from any email because of the permission and I have no clue which permission I should be setting.
This is the error I’m getting:
May 11 11:36:29 imap(jenny@xxx.com): Error: file_dotlock_create(/mnt/data/miab/mail/mailboxes/xxx.com/jenny/.INBOX.Completed/dovecot-uidlist) failed: Permission denied (euid=8(mail) egid=8(mail) missing +w perm: /mnt/data/miab/mail/mailboxes/xxx.com/jenny/.INBOX.Completed, we’re not in group 33(www-data), dir owned by 1001:33 mode=0775)
This is what I ran on the entire folder and it doesn’t work:
sudo chmod 775 -R . && sudo chown www-data:www-data -R .
I’m not sure what permission I should be setting to make this work properly.
From what I see here: 'we’re not in group 33(www-data)"
Which group should I be using instead of www-data?
Thanks