[dovecot/core] 5ee3c7: doveadm-server: http: Fixed temp_path_prefix for i...
GitHub
noreply at github.com
Fri Dec 9 09:30:10 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 5ee3c7784cd954ef4d1e8ad43f7d155fbb8f5c14
https://github.com/dovecot/core/commit/5ee3c7784cd954ef4d1e8ad43f7d155fbb8f5c14
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-12-09 (Fri, 09 Dec 2016)
Changed paths:
M src/doveadm/client-connection-http.c
Log Message:
-----------
doveadm-server: http: Fixed temp_path_prefix for iostream-temp.
The temp_path_prefix was "/tmp", which is extended to "/tmp<hostname>.<pid>.<random>" by safe_mkstemp.
Obviously, mortal users cannot create a file like that, causing this error:
doveadm: Error: safe_mkstemp(/tmp) failed: Permission denied
The temp_path_prefix should have been "/tmp/doveadm.", as it is elsewhere as well.
More information about the dovecot-cvs
mailing list