[tor-bugs] #5780 [Tor bundles/installation]: TBB Win7: Fix permissions after sed -i

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun May 6 00:03:45 UTC 2012


#5780: TBB Win7: Fix permissions after sed -i
--------------------------------------+-------------------------------------
 Reporter:  Shondoit                  |          Owner:  erinn
     Type:  defect                    |         Status:  new  
 Priority:  normal                    |      Milestone:       
Component:  Tor bundles/installation  |        Version:       
 Keywords:                            |         Parent:       
   Points:                            |   Actualpoints:       
--------------------------------------+-------------------------------------
 When building TBB on Windows 7 (or Vista) with UAC enabled, 'sed -i' does
 not copy permissions and the edited file becomes read-only.
 sed gets a Permission Denied when accessing (or setting) permissions when
 UAC is enabled.
 This patch is a simple workaround that adds write permission again so that
 later appends work (specifically in 'write-tbb-version'.)

 The branch name is 'fix-sed-inplace', my public tpo repo.

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


More information about the tor-bugs mailing list