Index: utils/ofarc/OFArc.m ================================================================== --- utils/ofarc/OFArc.m +++ utils/ofarc/OFArc.m @@ -480,19 +480,22 @@ type: type mode: mode encoding: encoding]; #ifdef OF_MACOS - @try { - OFString *attributeName = @"com.apple.quarantine"; - - _quarantine = [[[OFFileManager defaultManager] - extendedAttributeDataForName: attributeName - ofItemAtIRI: IRI] retain]; - } @catch (OFGetItemAttributesFailedException *e) { - if (e.errNo != /*ENOATTR*/ 93) - @throw e; + if ([IRI.scheme isEqual: @"file"]) { + @try { + OFString *attributeName = + @"com.apple.quarantine"; + + _quarantine = [[[OFFileManager defaultManager] + extendedAttributeDataForName: attributeName + ofItemAtIRI: IRI] retain]; + } @catch (OFGetItemAttributesFailedException *e) { + if (e.errNo != /*ENOATTR*/ 93) + @throw e; + } } #endif if (outputDir != nil) { OFFileManager *fileManager =