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

import isn't using apr_tmp_dir_get()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: unscheduled
    • Component/s: libsvn_ra_neon
    • Labels:
      None

      Description

      Error recipe:
      
      # Make sure you have no write permission to some_dir/
      
       $ svn import some_dir/ http://host/repos -m 'blah'
       subversion/libsvn_subr/io.c:178: (apr_err=13)
       svn: Can't open 'some_dir/tempfile.tmp': Permission denied
      
      libsvn_ra_dav is spewing the svndiff data into 'tempfile.tmp' so that neon can
      pull it across the wire.  But this falls down if you don't have write
      permission.  libsvn_ra_dav should be using our new apr_tmp_dir_get() to find a
      safe place to create the tmpfile.
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sussman Ben Collins-Sussman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: