Commit 18f4bb03 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian
Browse files

Silent handling of chmod

parent 0bf3fc93
......@@ -160,7 +160,7 @@ function provision_path_unlink($path) {
function provision_path_chmod($path, &$perms, &$reason) {
if (!chmod($path, $perms)) {
if (!@chmod($path, $perms)) {
$reason = dt('chmod to @perm failed on @path', array('@perm' => sprintf('%o', $perms), '@path' => $path));
return false;
Supports Markdown
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