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


Me, elsewhere

GitHub
parseword
Miscellaneous public code

Twitter
@parseword
I don't tweet much

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

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

📰 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

📰 SpamAssassin 3.4.2 fixes security problems, adds HashBL and phishing plugins

📰 Bug or turf war? ICQ via Pidgin now fails with "startOSCARSession: Request Timeout"

📰 🎂

📰 SFSQuery, a PHP class to query the StopForumSpam API and DNSBL

📰 Resolving portmaster error "pkg-static: automake-1.16.1 conflicts with automake-wrapper-20131203"

📰 Resolving LibreNMS error "RuntimeException: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths"

📰 1.1.1.1: Fast, but not so accurate (yet)

📰 autodiscover.xml as an Indicator of Attack

📰 Blocking Facebook's Tracking and Surveillance: A Comprehensive Approach

📰 Let's Encrypt Readies for Certificate Transparency with Embedded SCTs

▲ Back to top | Permalink to this page