31 Aug
2011
31 Aug
'11
9:52 a.m.
On 31.8.2011, at 9.47, Daminto Lie wrote:
Thanks a lot Timo,
Creating directories for new users is not an issue. It's the permission that makes me headache.
The error message you showed said that the user's home directory didn't exist, and the permission problem came only because it didn't exist and Dovecot tried to create it.
I tried the following
sudo chmod o-r /home/$USER sudo chmod g+rw /home/$USER
It did not work until I did chmod 777 /home.
Right, because only then did it have enough permissions to create the home dir.
Is it safe to make home directory with permission 777?
No.