[tor-bugs] #29244 [Core Tor/Tor]: Travis permissions error: failed to write Cargo.lock

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 1 15:32:01 UTC 2019


#29244: Travis permissions error: failed to write Cargo.lock
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  nickm
     Type:  defect                               |         Status:
                                                 |  accepted
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  0.4.0.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Major                                |     Resolution:
 Keywords:  041-proposed, tor-ci, regression,    |  Actual Points:
  040-backport 035-backport 034-backport         |
  033-backport?                                  |
Parent ID:                                       |         Points:  0.5
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by nickm):

 Aha, here is the bug.

 When we say `--enable-cargo-online-mode`, we do not provide the
 "`--frozen`" flag as part of `$CARGO_ONLINE`.

 This flag both gives cargo permission to download (which we want, since
 we're doing distcheck with `--enable-cargo-online-mode`) and gives it
 permission to update cargo.lock (which we don't, in this case).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29244#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list