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

Re: Import related questions

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-06 17:15:37 CEST

On Tue, 2004-07-06 at 08:15, Hakan Koseoglu wrote:
> On Tue, 2004-07-06 at 13:41, Ben Collins-Sussman wrote:
> > On Tue, 2004-07-06 at 03:57, Hakan Koseoglu wrote:
> >
> > > If I want to import a directory which is on a directory I don't have r/w
> > > access, it doesn't work. Especially if I want to import something like
> > > /doc. I have to become root to do that and that messes up with the DB4's
> > > file structure (especially if I am using the file:// method).
> >
> > I'm unable to reproduce this problem. I can easily import directories
> > that I only have read (but not write) access to. What version client
> > are you using?
>
> I believe it is a simple file permission problem:
>
> hakank@p038:/> svnadmin create /filestore/hakank/subrepo/wip
> hakank_at_p038:/> svn import wip file:///filestore/hakank/subrepo/wip
> svn: Can't open 'svn-commit.tmp': Permission denied
>
> /wip is rw for my user but / isn't.
>
> I presume if I used -m for message probably it would go away. On the
> other hand, I would have expected to create the temporary file in $TEMP
> (or %TEMP%). I haven't tried with -m yet.
>
> SVN version is 1.0.5.

The problem is that svn is trying to create a tmpfile in '.' and you
have no write permission in the current working directory.

This is fixed in the forthcoming svn 1.1 release.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 6 20:40:54 2004

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