@@ -55,11 +55,12 @@ - initWithStream: (OF_KINDOF(OFStream *))stream { self = [super init]; @try { - _archive = [[OFTarArchive alloc] initWithStream: stream]; + _archive = [[OFTarArchive alloc] initWithStream: stream + mode: @"r"]; } @catch (id e) { [self release]; @throw e; }