[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn import requires write access to current working directory

From: Andreas J. Koenig <andreas.koenig_at_anima.de>
Date: 2002-10-13 11:15:55 CEST

Newbie alert: this is my very first attempt to use svn. It looks like
a bug to me and I could not find it in issuezilla.

As user "svn" I was in the root directory where I did not have write
permission. I tried to import:

$ SVN_EDITOR=vi LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.0/lib svn import file:///usr/local/svn/repos1 ~k/bin/dir-done-arch.pl scripts
subversion/libsvn_subr/io.c:174: (apr_err=13, src_err=0)
svn: Permission denied
svn: svn_io_open_unique_file: error attempting svncommit.63180.00001.tmp

After a chdir to /tmp I succeeded:

$ SVN_EDITOR=vi LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.0/lib svn import file:///usr/local/svn/repos1 ~k/bin/dir-done-arch.pl scripts
Adding /home/k/bin/dir-done-arch.pl
Transmitting file data .
Committed revision 1.

My environment:

$ env
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=svn
SSH_TTY=/dev/pts/3
MAIL=/var/mail/root
PAGER=less
CVS_RSH=ssh
MANPAGER=less
TERM=xterm
HOSTTYPE=i386
PATH=/usr/local/bin:/root/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/perl/bin:/usr/X11/bin
HOME=/home/svn
SHELL=/bin/bash
PS1=[\u@\h \W]\$
USER=svn
LESS=-MQcefisX -P line %lt (of %L) of %f
LESSCHARSET=utf-8
DISPLAY=localhost:13.0
LANG=en_US
SSH_CLIENT=192.168.0.76 37178 22
OSTYPE=Linux
PWD=/tmp
SHLVL=2
dunique=
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
_=/usr/bin/env

-- 
andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 13 11:16:33 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.