Poking around at a project this morning, I encountered an unusual error from subversion:
[myuser@host ~/projects/slice]$ svn ci -m "Parse EDNS options from log lines" Sending ingest.php Transmitting file data .svn: E000013: Commit failed (details follow): svn: E000013: Unable to create pristine install stream svn: E000013: Can't create temporary file from template '/home/myuser/projects/slice/.svn/tmp/svn-XXXXXX': Permission denied
Well that's interesting, I've been committing to this repository for days now without any errors. What happened?
[myuser@host ~/projects/slice]$ ls -la .svn/tmp/ total 8 drwxr-xr-x 2 root myuser 512 Dec 21 19:23 . drwxr-xr-x 4 myuser myuser 512 Dec 21 19:23 ..
Aha, my project's
.svn/tmp directory is suddenly owned by root. This was my own mistake. A few days ago, while logged in as root, I had run
svn cleanup in this working copy; during the cleanup process, root took ownership of
.svn/tmp. The fix was as eas...