classes/phing/system/io/PhingFile.php
public function setUser($user)
    {
        $fs = FileSystem::getFileSystem();

        $fs->chown($this->getPath(), $user);
    }
public function setUser($user)
    {
        $fs = FileSystem::getFileSystem();

        $fs->chown($this->getPath(), $user);
    }
public function setUser ( $ user ) { $ fs = FileSystem :: getFileSystem ( ) ; $ fs -> chown ( $ this -> getPath ( ) , $ user ) ; }
Sets the owner of the file.

@param mixed $user User name or number.

@throws IOException
Sets the owner of the file .