{"thread":{"id":"14829","subject":"[git/perl/cygwin] Permission denied at /usr/bin/git-svn line 2339","startedAt":"2008-08-04T05:16:16Z","lastAt":"2008-08-04T05:16:16Z","messageCount":1,"participants":["Ray Chuan"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"86148","messageId":"be6fef0d0808032216r3d965562u447d435ca99c18c7@mail.gmail.com","threadId":"14829","inReplyTo":null,"subject":"[git/perl/cygwin] Permission denied at /usr/bin/git-svn line 2339","fromName":"Ray Chuan","fromEmail":"rctay89@gmail.com","sentAt":"2008-08-04T05:16:16Z","receivedAt":"2008-08-04T05:16:16Z","isPatch":false,"sender":{"key":"rctay89@gmail.com","avatar":"https://avatars.githubusercontent.com/u/61553?v=4"},"body":"Hi,\n\ni'm encountering an issue with git-svn running on cygwin (not sure if\nthis is exclusive to cygwin) when migrating data from svn to git.\n\n$ git-svn clone file:///F:/test/svn-native-repo/\nInitialized empty Git repository in /cygdrive/F/test/git/svn-native-repo/.git/\n       A       sitemap.html\n       A       funcs.js\n       A       index.html\n       A       styles.css\nr1 = d112a5b470fd4387c7bbb7199d0d7a065754b127 (git-svn)\nPermission denied: Can't open\n'/cygdrive/c/DOCUME~1/myself/LOCALS~1/Temp/report.tmp': Permission\ndenied at /usr/bin/git-svn line 2339\n\n\nthe repo used was a dummy subversion repo with 2 revisions: an add,\nand a modification commit. (dump file here [1])\n\ni suspect this is caused by locks over files. using perl -d:\n\n$ perl -d /usr/bin/git-svn clone file:///F:/test/svn-native-repo/\nc 3995\nc 3995\nc 3838\ns\nc 85\n\nSVN::Ra::AUTOLOAD(/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/SVN/Ra.pm:85):\n85:         my @ret = $func->($self->{session}, @_);\n\nimmediately after this line the error is generated.\n\na fix would be to issue closes to the processes, as in\nGit::_close_hash_and_insert_object and Git::_close_cat_blob:\n\n767a768\n>       $self->_close_hash_and_insert_object();\n856a858\n>       $self->_close_cat_blob();\n\n(Note: currently this doesn't fix the issue too, cos the methods do\nnot do their job properly (on my side, at least): see\n\nhttp://article.gmane.org/gmane.comp.version-control.git/91314\n)\n\nmy environment is:\n- win xp home sp2\n- Cygwin: 1.5.25-15 (latest)\n- Git: 1.5.6.4-1 (latest)\n- subversion-perl: 1.4.6-3 (latest)\n- Perl: 5.10.0-5 (latest)\n\n[1] http://thelilaeanbellis.com/shared/svn-native-repo.dump\n"}]}