Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3813

'svn diff' fails when .svn is not writable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.7.0
    • libsvn_wc

    Description

      When .svn/tmp/ is not writable, 'svn diff' croaks, instead of just placing its
      tempfiles elsewhere:
      
      % svn co $GREEK_TREE wc/
      % echo >> wc/iota
      % svn ci -mm wc
      % sudo chmod -R root:root wc/.svn/
      % svn diff -r1 wc
      subversion/libsvn_wc/diff.c:1553: (apr_err=13)
      subversion/libsvn_subr/stream.c:669: (apr_err=13)
      subversion/libsvn_subr/io.c:4070: (apr_err=13)
      subversion/libsvn_subr/io.c:3889: (apr_err=13)
      svn: E000013: Can't create temporary file from template
      '/tmp/svn/wc1/.svn/tmp/svn-XXXXXX': Permission denied
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            danielsh Daniel Shahaf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: