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

[TSVN] Apache 2 / Samba permission problems on file copy

From: Steve Pavarno <steve_at_cwa.co.nz>
Date: 2005-01-26 01:35:25 CET

I'm having problems with Apache, Samba and Tortoise SVN working together. Do
you have a moment to help / advise?

Setup:
- My development PC runs Win2k service pack 4 and Tortoise SVN 1.1.3 build
2502
- Apache web server running Debian Sarge:
        Apache/2.0.52 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.4
PHP/5.0.3-0.2 mod_perl/1.999.20 Perl/v5.8.4
- A Samba share publishes a /var/www/audit directory so I can access it from
my windows box as a mapped network drive

This manifests itself in two ways:

1 - if I use Tortoise to checkout the project through the samba share, none
of the files are readable by the web server. I get a permissions errors in
several variants including HTTP403 errors and the one below (which looks
like it comes from PHP?)
Warning: Unknown: failed to open stream: Permission denied in Unknown on
line 0
Warning: Unknown: Failed opening '/var/www/audit/p2.php' for inclusion
(include_path='.:/usr/share/php') in Unknown on line 0

This problem seems to go away if I competely delete the directory and do a
checkout from the linux command line on the server. Apache is able to serve
the files correctly.

2 - Doing copy/paste in windows explorer on a file in a repository. I use
this is a quick and easy way to create a new file with the standard header
comments included. The result is a file called "Copy of MyFile.php" which I
then rename. The renamed file has the same permissions problems, even when
the original works fine. If I copy the file form the linux command line, it
all works fine. I have done this often on this server before installing
Tortoise and it worked fine then.

For both of the above, file ownership and permissions all look fine. There
is perhaps some hidden property of the file that I cannot see from Windows
Explorer or the linux command line?

Please cc your reply to steve@cwa.co.nz: I'm not subscribed to this list.
Thankyou very much

Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jan 26 08:07:16 2005

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

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