[Dovecot] Socket permission 432/384 and dovecot.conf
Sorry for that question but:
when you set in dovecot.conf this for example:
socket listen { client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } }
and you run "dovecot -n" you'll see
client: path: /var/spool/postfix/private/auth mode: 432
I'm wondering about the mode "432" - how is this value calculated? Same for the auth/master socket socket - the value ist "384" and in dovecot.conf it's 0600.
Thanks for any info.
Seba
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 19 Jan 2010, Seba wrote:
Sorry for that question but:
when you set in dovecot.conf this for example: mode = 0660
and you run "dovecot -n" you'll see
mode: 432
I'm wondering about the mode "432" - how is this value calculated?
432 is the decimal representation (radix 10), 0660 is the octal one (radix 8).
It's good old C-style of writing numbers, that 0 prefixes octal, 0x hexadecimal numbers.
Regards,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBS1Wlk7+Vh58GPL/cAQJDZAf7BN5v51D8LQGPHipVxrHQskUCTHH6nuPI OCBh+fXaA7fnU6HYBvGk3bI7FgKxvQiyycoaTte+Pq2O4N8PJZ7AfkgzWmpXEJrU C4Pho+660SLBlJLvuZ7DPv3SDX4DqsYu1NXgrNhnw7jrOQXCxxkzePpLWjvjCIZP 0yIDpkgnwv0YNH9fPjCK4Z+UkHZjZXG9bH2ti8CKhkKdJGe7gBW9PPKM5VsX2eUx rOroSOhjx+VG3HKHRA0FfgDRIMv13CI5PWXgqLvUFumFwzOxbnODhPbILu4MOsqo pJodfJrDRTiZjFkoUAWTAuXKuJZdPV+/jLrlWoeoOeuFB7hmNPVmFg== =xn1m -----END PGP SIGNATURE-----
On Tue, 2010-01-19 at 13:29 +0100, Steffen Kaiser wrote:
and you run "dovecot -n" you'll see
mode: 432
I'm wondering about the mode "432" - how is this value calculated?
432 is the decimal representation (radix 10), 0660 is the octal one (radix 8).
Right. And I finally now changed this in v2.0. It'll output it as 0660.
participants (3)
-
Seba
-
Steffen Kaiser
-
Timo Sirainen