[swift-users] Permission problem with Swift 3.0 Preview 1 on Ubuntu 14.04
martinr448 at gmail.com
Tue Jul 5 09:02:53 CDT 2016
I downloaded and installed Swift 3.0 Preview 1 on Ubuntu 14.04, following the instructions in https://swift.org/download/#releases.
For some reason, all files in the
directory of the archive have mode "-rw-r-----", i.e. they are not world-readable.
As a consequence, swift cannot be executed as a "normal" user:
Welcome to Swift version 3.0 (swift-3.0-PREVIEW-1). Type :help for assistance.
error: cannot open file '/usr/local/src/Swift/swift-3.0-PREVIEW-1-ubuntu14.04/usr/lib/swift/CoreFoundation/module.modulemap': Permission denied
That can be fixed easily with "chmod -R o+r ...", but is there a particular reason for this restriction? Is is worth a bug report?
More information about the swift-users