All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 20af2289 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Invoke external script that creates image file as user "nobody" since

otherwise the file is created as that user, and is then difficult to
remove in floormap_aux.php3 after it is dished out. There is no reason
to run the external script as the user; all it does is build an image.
parent 696e243b
......@@ -155,7 +155,7 @@ if (!preg_match("/^\/tmp\/([-\w]+)$/", $prefix, $matches)) {
$uniqueid = $matches[1];
$retval = SUEXEC($uid, "nobody", "webfloormap -o $prefix " .
$retval = SUEXEC("nobody", "nobody", "webfloormap -o $prefix " .
(isset($pid) ? "-e $pid,$eid " : "") .
(isset($floor) ? "-f $floor " : "") .
(isset($building) ? "$building" : ""),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment