Opened 8 years ago

Closed 8 years ago

#5780 closed defect (fixed)

TBB Win7: Fix permissions after sed -i

Reported by: Shondoit Owned by: erinn
Priority: Medium Milestone:
Component: Applications/Tor bundles/installation Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


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.

Child Tickets

Change History (1)

comment:1 Changed 8 years ago by erinn

Resolution: fixed
Status: newclosed

Merged. Thanks!

Note: See TracTickets for help on using tickets.