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
F15513538: D15879.diff
Thu, Apr 17, 7:37 PM
F15449694: D15879.id.diff
Fri, Mar 28, 11:41 AM
F15447083: D15879.diff
Thu, Mar 27, 9:48 PM
F15396449: D15879.id38267.diff
Mar 16 2025, 2:24 PM
Unknown Object (File)
Feb 16 2025, 6:48 AM
Unknown Object (File)
Feb 9 2025, 1:34 AM
Unknown Object (File)
Feb 9 2025, 1:34 AM
Unknown Object (File)
Feb 9 2025, 1:34 AM
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.