diff --git a/bureau/class/m_bro.php b/bureau/class/m_bro.php index e6f97f00..97186a24 100644 --- a/bureau/class/m_bro.php +++ b/bureau/class/m_bro.php @@ -530,7 +530,7 @@ class m_bro { @touch($absolute."/".$_FILES['userfile']['name']); } if (@move_uploaded_file($_FILES['userfile']['tmp_name'], $absolute."/".$_FILES['userfile']['name'])) { - exec("sudo /usr/lib/alternc/fixperms.sh -u ".$cuid." -f ".$absolute."/".$_FILES['userfile']['name']); + exec("sudo /usr/lib/alternc/fixperms.sh -u ".$cuid." -f '".$absolute."/".$_FILES['userfile']['name']."'"); return $absolute."/".$_FILES['userfile']['name']; } else { $err->raise("bro",("Cannot create the requested file. Please check permissions."));