match/lib/match/storage/gitlab/secure_file.rb in fastlane-2.207.0 vs match/lib/match/storage/gitlab/secure_file.rb in fastlane-2.208.0

- old
+ new

@@ -41,11 +41,10 @@ File.open(destination_file, "wb") do |saved_file| URI.open(url, "rb", { @client.authentication_key => @client.authentication_value }) do |data| saved_file.write(data.read) end - # Set file mode to read-only - FileUtils.chmod('u=r,go-r', destination_file) + FileUtils.chmod('u=rw,go-r', destination_file) end UI.crash!("Checksum validation failed for #{@file.name}") unless valid_checksum?(destination_file) rescue OpenURI::HTTPError => msg UI.error("Unable to download #{@file.name} - #{msg}")