Page MenuHomePhabricator

Make MAGICK_TMPDIR configurable (ImageMagick)
Closed, DeclinedPublic

Description

Author: thomas.schuering

Description:
MediaWiki seems to use 'convert' from ImageMagick.

For ImageMagick you can assign a tmp-dir via MAGICK_TMPDIR (default: '/tmp').
MediaWiki does not set that variable.

In shared-hosting situations it would be nice to have MAGICK_TMPDIR configurable.
That way each user could have his temp-files in his own space.

Currently all goes into /tmp. This can fill up a tmp-partition easily.


Version: 1.13.x
Severity: enhancement

Details

Reference
bz19768

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:39 PM
bzimport set Reference to bz19768.
bzimport added a subscriber: Unknown Object (MLST).

Should be pretty easy.

Just make a new global (null by default) and then set the environment variable in Setup somewhere of the path is specified by the user.