Page MenuHomePhabricator

Before executing svnserve, change the CWD to a readable directory
ClosedPublic

Authored by epriestley on May 10 2016, 2:32 PM.
Tags
None
Referenced Files
F18764436: D15879.id.diff
Tue, Oct 7, 6:04 AM
F18732813: D15879.diff
Tue, Sep 30, 8:07 PM
F18714022: D15879.diff
Sep 29 2025, 7:09 AM
F18619715: D15879.diff
Sep 15 2025, 3:13 AM
F18507504: D15879.id.diff
Sep 5 2025, 2:14 AM
F18096007: D15879.id38245.diff
Aug 8 2025, 3:43 AM
F18093984: D15879.id38267.diff
Aug 7 2025, 9:50 PM
F18090887: D15879.id38267.diff
Aug 6 2025, 6:06 PM
Subscribers

Details

Summary

Fixes T10941. This avoids a confusing dead end when configuring Subversion hosting, where svnserve will fail to execute hooks if the CWD isn't readable by the vcs-user.

Test Plan
  • Updated and committed in a hosted SVN repository.
  • Ran some git operations, too.
  • @dpotter confirmed this locally in T10941.

Diff Detail

Repository
rP Phabricator
Branch
svnchdir1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12120
Build 15282: Run Core Tests
Build 15281: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Before executing svnserve, change the CWD to a readable directory.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
epriestley added a subscriber: dpotter.
chad edited edge metadata.
This revision is now accepted and ready to land.May 11 2016, 3:05 AM
This revision was automatically updated to reflect the committed changes.