(new Soapbox())->shout(array_map('strtoupper', $opinions)); //Shaun's blog


Me, elsewhere

GitHub
parseword
Miscellaneous public code

snuze
A PHP API client for Reddit

Twitter
@parseword
I don't tweet much

XMPP chat
xmpp@shaunc.com
(Pidgin, Miranda, Swift, etc.)


Perfect is the enemy of good enough.

Resolving subversion error E000013: Unable to create pristine install stream

Posted December 26, 2018 by shaun

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 easy as running svn cleanup again while logged in as the correct user:

[myuser@host ~/projects/slice]$ svn cleanup
[myuser@host ~/projects/slice]$ ls -la .svn/tmp/
total 8
drwxr-xr-x  2 myuser  myuser  512 Dec 26 08:03 .
drwxr-xr-x  4 myuser  myuser  512 Dec 26 08:03 ..

That's more like it. With the permissions corrected, now the commit works:

[myuser@host ~/projects/slice]$ svn ci -m "Parse EDNS options from log lines"
Sending        ingest.php
Transmitting file data ...done
Committing transaction...
Committed revision 2428.

Card image from the Apache Subversion project



Recent articles

📰 Jay Niffley, Man of Mystery

📰 Compiling Doxygen on FreeBSD without LaTeX and Ghostscript

📰 Introducing Snuze, a PHP client for the Reddit API

📰 jisusaiche: Java's installer telemetry

📰 BIND client log error "query_find: query_getdb failed"

📰 Resolving "The lang/perl5.24 port has been deleted: Has expired" portmaster error

📰 Armagaddon2 interim fix for Firefox 56 and other old versions

📰 Strange DNS queries: qname "miep", qtype ANY

📰 Undeliverable as addressed: A massive broken spam campaign?

📰 Using WITH_META_MODE and ccache for FreeBSD build boosts

📰 Resolving subversion error E000013: Unable to create pristine install stream

📰 Enhancements to SmokePing's AnotherDNS probe

📰 Generating vanity DNSSEC key tags

📰 DDoS involving forged packets from 23.225.141.70

📰 Website integrity monitoring through version control

▲ Back to top | Permalink to this page