Commit 2f2f52e5 authored by anarcat's avatar anarcat Committed by anarcat

fix a warning in chown

parent 10c35088
......@@ -163,7 +163,7 @@ class provisionService_file extends provisionService {
function chown($path, $owner, $recursive = FALSE) {
$this->_clear_state();
$this->tokens = array('@path' => $path, '@gid' => $gid);
$this->tokens = array('@path' => $path, '@uid' => $owner);
$func = ($recursive) ? array($this, '_chown_recursive') : 'chown';
if ($owner = provision_posix_username($owner)) {
......
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