def setup(r):
        # test not preserving world-writeable permissions in builddir
        r.addArchive('worldwriteable.tar.bz2', dir='test-1')
        r.Install('worldwriteable', '/ww/notworldwriteable')
        # test preserving world-writeable permissions in root proxy
        r.addArchive('worldwriteable.tar.bz2', dir='/ww/')
        # test missing intermediate directory in tarball CNY-3060
        r.addArchive('missing.tar', dir='/opt/f', preserveOwnership=True)