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

Re: file permissions bug with svn import?

From: Kamin Whitehouse <kamin_at_eecs.berkeley.edu>
Date: 2004-01-26 12:40:30 CET

Sorry but I can't reproduce this either, i just tried. Anyway, this is
what happened, for future reference:

1. as "user", I ran "svn import /home/user file:///home/repos/user"
2. as "root" and *while* importing is happening, accidentally copied
kde's "Desktop" directory out of and then back into /home/user such that
"Desktop" is now owned by "root" with file permissions 700.
3. the import command starts importing the "Desktop" directory and then
start importing bogus data.

There was probably some race condition involved that I can't reproduce
involving the copying and the importing, and maybe kde was even using
the files in that directory at the same time.

Erik Huelsmann wrote:
> Hi Kamin,
>
>
>>I tried to svn import a large directory that contained a subdirectory
>>that was owned by "root". "svn import" stopped printing to the screen
>
>
> Hmm; I presume you weren't running as root at the time of importing then?
>
>
>>when it got to that directory, but it kept on checking in data. In
>>fact, it never stopped checking in data, and I finally killed the
>>process when the repository was taking up about 11Gigs of space. the
>>repository when I correctly imported was only 7.1G, so it must have been
>>checking in bogus data.
>>
>>I guess this is a bug; svn should have failed with an error message. I
>>looked for this in the mailing list archives but didn't find it.
>
>
> May I ask: could you please provide some more information? Such as the
> commands you issued to run the import. Did you use 'svn import' or 'cvs2svn.py'?
> More helpfull even would be a script to recreate the problem.
>
> bye,
>
> Erik.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 26 20:41:28 2004

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

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