[Dovecot] Maildir hardlinks

Benedetto Vassallo benedetto.vassallo at unipa.it
Tue Oct 23 23:18:06 EEST 2012


Def. Quota Timo Sirainen <tss at iki.fi>:

> On 16.10.2012, at 10.11, Benedetto Vassallo wrote:
>
>>> What are the permissions of the MailDir directory for user1/user2?
>>>
>>> ls -ld /home/user1/MailDir
>>> ls -ld /home/user2/MailDir
>>>
>>>
>>
>> Thank you for your reply.
>> They are different groups:
>>
>> drwxr-xr-x 9 user1 grp1 4096 15 ott 14:52 /home/user1/MailDir/
>> drwxr-xr-x 5 user2 grp2 4096  4 ott 23:43 /home/user2/MailDir/
>> drwxr-xr-x 10 user3 grp3 4096 15 ott 14:52 /home/user3/MailDir/
>
> Not very secure permissions.. Maybe would be easiest to just have  
> one vmail user for everyone?
>
>> I tryed to issue:
>> chgrp -R mail /home/user1/MailDir
>> chgrp -R mail /home/user2/MailDir
>> chgrp -R mail /home/user3/MailDir
>
> Dovecot doesn't do hard linking when it looks like the permissions  
> aren't compatible. The current code checks that if the owner UIDs  
> are different, then the group needs to be writable.

On my production server with dovecot 2.0.13 I have same permissions  
and it works.
I changed my permissions in any mode, changed the owner, the group but  
it still don't work.
Any suggestion?
Thank you

-- 
Benedetto Vassallo
Sistema Informativo di Ateneo
Settore Gestione Reti Hardware e Software
U.O.B. Sviluppo e manutenzione dei sistemi
Università degli studi di Palermo

Phone: +3909123860056
Fax: +390916529124

-------------------------------------------------------------------------
This message was sent using the University of Palermo web mail interface.




More information about the dovecot mailing list