Symfony\Component\Filesystem\Tests\FilesystemTest::testChownRecursive PHP Method

testChownRecursive() public method

public testChownRecursive ( )
    public function testChownRecursive()
    {
        $this->markAsSkippedIfPosixIsMissing();
        $dir = $this->workspace . DIRECTORY_SEPARATOR . 'dir';
        mkdir($dir);
        $file = $dir . DIRECTORY_SEPARATOR . 'file';
        touch($file);
        $this->filesystem->chown($dir, $this->getFileOwner($dir), true);
    }
FilesystemTest