[swift-users] Installation permissions issue with 3.0 release in Ubuntu 14.04?
Owen Smith
owen at udacity.com
Wed Oct 12 21:22:22 CDT 2016
Greetings,
I'm not sure where to take this issue, so I'm starting here. It's an
installation issue, not a language issue. Any tips on where to send this
would be greatly appreciated! (And of course please let me know if it's a
known issue.)
I'm one of the brave that is installing Swift 3.0 on Ubuntu 14.04 as a
system installation. I'd love to be able to take the release tarball and
simply expand it as-is to the final location in /usr.
However, there's one significant issue: many CoreFoundation files in the
archive appear to be marked with a permission of 640, which means they're
unusable by the general population on the server when installed straight
up. It's not hard to fix, but it's annoying.
Specifically, it's these files:
640 /usr/lib/swift/CoreFoundation/CFArray.h
640 /usr/lib/swift/CoreFoundation/CFAsmMacros.h
640 /usr/lib/swift/CoreFoundation/CFAttributedString.h
640 /usr/lib/swift/CoreFoundation/CFAvailability.h
640 /usr/lib/swift/CoreFoundation/CFBag.h
640 /usr/lib/swift/CoreFoundation/CFBase.h
640 /usr/lib/swift/CoreFoundation/CFBasicHash.h
640 /usr/lib/swift/CoreFoundation/CFBigNumber.h
640 /usr/lib/swift/CoreFoundation/CFBinaryHeap.h
640 /usr/lib/swift/CoreFoundation/CFBitVector.h
640 /usr/lib/swift/CoreFoundation/CFBundle_BinaryTypes.h
640 /usr/lib/swift/CoreFoundation/CFBundle.h
640 /usr/lib/swift/CoreFoundation/CFBundle_Internal.h
640 /usr/lib/swift/CoreFoundation/CFBundlePriv.h
640 /usr/lib/swift/CoreFoundation/CFBurstTrie.h
640 /usr/lib/swift/CoreFoundation/CFByteOrder.h
640 /usr/lib/swift/CoreFoundation/CFCalendar.h
640 /usr/lib/swift/CoreFoundation/CFCharacterSet.h
640 /usr/lib/swift/CoreFoundation/CFCharacterSetPriv.h
640 /usr/lib/swift/CoreFoundation/CFData.h
640 /usr/lib/swift/CoreFoundation/CFDateFormatter.h
640 /usr/lib/swift/CoreFoundation/CFDate.h
640 /usr/lib/swift/CoreFoundation/CFDictionary.h
640 /usr/lib/swift/CoreFoundation/CFError.h
640 /usr/lib/swift/CoreFoundation/CFError_Private.h
640 /usr/lib/swift/CoreFoundation/CFICUConverters.h
640 /usr/lib/swift/CoreFoundation/CFICULogging.h
640 /usr/lib/swift/CoreFoundation/CFInternal.h
640 /usr/lib/swift/CoreFoundation/CFLocale.h
640 /usr/lib/swift/CoreFoundation/CFLocaleInternal.h
640 /usr/lib/swift/CoreFoundation/CFLogUtilities.h
640 /usr/lib/swift/CoreFoundation/CFMachPort.h
640 /usr/lib/swift/CoreFoundation/CFMessagePort.h
640 /usr/lib/swift/CoreFoundation/CFNumberFormatter.h
640 /usr/lib/swift/CoreFoundation/CFNumber.h
640 /usr/lib/swift/CoreFoundation/CFPlugInCOM.h
640 /usr/lib/swift/CoreFoundation/CFPlugIn_Factory.h
640 /usr/lib/swift/CoreFoundation/CFPlugIn.h
640 /usr/lib/swift/CoreFoundation/CFPreferences.h
640 /usr/lib/swift/CoreFoundation/CFPriv.h
640 /usr/lib/swift/CoreFoundation/CFPropertyList.h
640 /usr/lib/swift/CoreFoundation/CFRegularExpression.h
640 /usr/lib/swift/CoreFoundation/CFRunArray.h
640 /usr/lib/swift/CoreFoundation/CFRunLoop.h
640 /usr/lib/swift/CoreFoundation/CFRuntime.h
640 /usr/lib/swift/CoreFoundation/CFSet.h
640 /usr/lib/swift/CoreFoundation/CFSocket.h
640 /usr/lib/swift/CoreFoundation/CFStorage.h
640 /usr/lib/swift/CoreFoundation/CFStreamAbstract.h
640 /usr/lib/swift/CoreFoundation/CFStream.h
640 /usr/lib/swift/CoreFoundation/CFStreamInternal.h
640 /usr/lib/swift/CoreFoundation/CFStreamPriv.h
640 /usr/lib/swift/CoreFoundation/CFStringDefaultEncoding.h
640 /usr/lib/swift/CoreFoundation/CFStringEncodingConverterExt.h
640 /usr/lib/swift/CoreFoundation/CFStringEncodingConverter.h
640 /usr/lib/swift/CoreFoundation/CFStringEncodingConverterPriv.h
640 /usr/lib/swift/CoreFoundation/CFStringEncodingDatabase.h
640 /usr/lib/swift/CoreFoundation/CFStringEncodingExt.h
640 /usr/lib/swift/CoreFoundation/CFString.h
640 /usr/lib/swift/CoreFoundation/CFStringLocalizedFormattingInternal.h
640 /usr/lib/swift/CoreFoundation/CFTimeZone.h
640 /usr/lib/swift/CoreFoundation/CFTree.h
640 /usr/lib/swift/CoreFoundation/CFUniChar.h
640 /usr/lib/swift/CoreFoundation/CFUniCharPriv.h
640 /usr/lib/swift/CoreFoundation/CFUnicodeDecomposition.h
640 /usr/lib/swift/CoreFoundation/CFUnicodePrecomposition.h
640 /usr/lib/swift/CoreFoundation/CFURLAccess.h
640 /usr/lib/swift/CoreFoundation/CFURLComponents.h
640 /usr/lib/swift/CoreFoundation/CFURL.h
640 /usr/lib/swift/CoreFoundation/CFURL.inc.h
640 /usr/lib/swift/CoreFoundation/CFURLPriv.h
640 /usr/lib/swift/CoreFoundation/CFURLSessionInterface.h
640 /usr/lib/swift/CoreFoundation/CFUserNotification.h
640 /usr/lib/swift/CoreFoundation/CFUtilities.h
640 /usr/lib/swift/CoreFoundation/CFUUID.h
640 /usr/lib/swift/CoreFoundation/CFXMLInputStream.h
640 /usr/lib/swift/CoreFoundation/CFXMLInterface.h
640 /usr/lib/swift/CoreFoundation/CFXMLNode.h
640 /usr/lib/swift/CoreFoundation/CFXMLParser.h
640 /usr/lib/swift/CoreFoundation/CoreFoundation.h
640 /usr/lib/swift/CoreFoundation/CoreFoundation_Prefix.h
640 /usr/lib/swift/CoreFoundation/ForFoundationOnly.h
640 /usr/lib/swift/CoreFoundation/ForSwiftFoundationOnly.h
640 /usr/lib/swift/CoreFoundation/module.modulemap
640 /usr/lib/swift/CoreFoundation/TargetConditionals.h
Note in particular that module.modulemap is locked down, which is the
source of a lovely error if users try to `import CoreFoundation`.
The rest of the archive generally uses 644 as I would expect and desire.
Can we tweak forthcoming releases to fix these permissions? Who do I have
to bug? :-)
Thanks!
-- Owen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20161012/46954def/attachment.html>
More information about the swift-users
mailing list