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

        $fs->chmod($this->getPath(), $mode);
    }
public function setMode($mode)
    {
        $fs = FileSystem::getFileSystem();

        $fs->chmod($this->getPath(), $mode);
    }
public function setMode ( $ mode ) { $ fs = FileSystem :: getFileSystem ( ) ; $ fs -> chmod ( $ this -> getPath ( ) , $ mode ) ; }
Sets the mode of the file

@param  int $mode Octal mode.
@throws IOException
Sets the mode of the file