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

Re: Unable to checkout working copy to mapped drive

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-07-17 19:46:11 CEST

Josh wrote:
> I have been using sftpdrive to access files on my linux server files
> as a windows network drive via ssh. I also tried webdrive to do the
> same thing. They both work great.
>
> When I browse to my mapped drive and then attempt to checkout, I
> receive this error:
> Error: Can't set file 'S:\test5\.svn\entries' read-only: The system
> cannot find the file specified.
>
> TSVN does create the .svn directory,
>
> $ ls -lh /home/josh/test5/.svn/
> total 20K
> -rw-rw-r-- 1 josh josh 254 Jul 15 22:36 entries
> drwxrwxr-x 2 josh josh 4.0K Jul 15 22:36 prop-base
> drwxrwxr-x 2 josh josh 4.0K Jul 15 22:36 props
> drwxrwxr-x 2 josh josh 4.0K Jul 15 22:36 text-base
> drwxrwxr-x 5 josh josh 4.0K Jul 15 22:36 tmp
>
> Any ideas?

Check the permissions on your linux server (I assume you're using
Samba?). The problem is that there are different permissions on Samba
for hidden/system folders, and that's what Subversion creates (hidden
.svn folders). Subversion is able to create those folders, but then
doesn't have access rights to them, or at least not all the required rights.

Apart from that, I really don't recommend using working copies on
network drives. You already have the best backup (the repository). It's
called a 'working *copy*' because it is your personal, private copy and
should be located on the local harddrive.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Jul 17 19:45:22 2007

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

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