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

TortoiseSVN Error "Can't open '//.../tempfile.tmp': Permission Denied"

From: Markus Fischer <markus_at_fischer.name>
Date: 2005-03-09 14:48:58 CET


I've set up freshly Apache2/mod_svn and everything worked until I
started checking in the source tree.

I use TortoiseSVN on a samba share to import the files. I know that it's
very likely that the root of this problem isn't svn itself, but I hope
someone has seen such an error in the past and can help me.

When I import the files from the samba share to my http://.../svn
repository, the first three entries from a thousands files appear in the
SVN Import window:

Adding \\entwicklung\www\wtf\projectname
Adding \\entwicklung\www\wtf\projectname\http
Adding \\entwicklung\www\wtf\projectname\http\Copy of index_2.php

and the stops with this error Message:

Can't open '//entwicklung/www/wtf2/tempfile.tmp': Permission Denied

I've checked all permissions in the world I could, they're ok.

I tried a smaller project located at \\entwicklung\www\wtf3\ with _only_
the 'projectname' directory and it did work.

I dug into sambas logging directives to find some thints and found this.

This is the debug log of the non-working version:

[2005/03/09 11:34:23, 3] smbd/dosmode.c:unix_mode(111)
   unix_mode(wtf/tempfile.tmp) returning 0666
[2005/03/09 11:34:23, 5] smbd/files.c:file_new(122)
   allocated file structure 7364, fnum = 11460 (1 used)
[2005/03/09 11:34:23, 4] smbd/open.c:open_file_shared1(1244)
   calling open_file with flags=0x2 flags2=0xC0 mode=0666
[2005/03/09 11:34:23, 3] smbd/open.c:open_file(178)
   Error opening file wtf/tempfile.tmp (Permission denied)
(local_flags=194) (flags=194)

This is the debug log of the working version:

[2005/03/09 11:37:30, 3] smbd/dosmode.c:unix_mode(111)
   unix_mode(wtf3/tempfile.tmp) returning 0666
[2005/03/09 11:37:30, 5] smbd/files.c:file_new(122)
   allocated file structure 7559, fnum = 11655 (2 used)
[2005/03/09 11:37:30, 4] smbd/open.c:open_file_shared1(1244)
   calling open_file with flags=0x2 flags2=0xC0 mode=0666
[2005/03/09 11:37:30, 2] smbd/open.c:open_file(245)
   mfischer opened file wtf3/tempfile.tmp read=Yes write=Yes (numopen=2)
[2005/03/09 11:37:30, 5] smbd/oplock.c:set_file_oplock(218)
   set_file_oplock: granted oplock on file wtf3/tempfile.tmp, dev = 802,
inode = 424418, file_id = 163, tv_sec = 422edffa, tv_usec = 3922f

Unfortunately not much indication as to _why_ there's a permission denied.

When I make a full copy of the folder 'wtf' to e.g. 'wtf2' it the same

Maybe someone has any ideas?

- Markus

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 9 14:47:18 2005

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.